Sergio Pedri
|
b7e09b60d3
|
Implement ID2D1Effect logic to store and get/update managers
|
2022-08-15 15:01:17 +02:00 |
|
Sergio Pedri
|
46189a898a
|
Add ResourceTextureManagerBuffer type
|
2022-08-15 15:01:17 +02:00 |
|
Sergio Pedri
|
d02f8f3a9f
|
Update code to use new COM interface binding ttypes
|
2022-08-15 15:01:17 +02:00 |
|
Sergio Pedri
|
7f80a7270f
|
Add bindings for internal COM interfaces
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
b1ce15feb8
|
Update ResourceTextureManager API names
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
4d0549078b
|
Pass resource texture info to built-in ID2D1Effect object
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
b2b445d3a8
|
Store ID2D1EffectContext in the ID2D1Effect object
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
47cafd0145
|
Add D2D1PixelShaderEffect API to set a resource texture manager
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
ad20d6c2df
|
Add D2D1ResourceTextureManager type
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
54a060ff01
|
Fix vtable offsets in ResourceTextureManager implementation
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
a1556d51d9
|
Add new properties to D2D1PixelShaderEffectProperty
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
5328c4b39c
|
Update ID2D1Effect registration with new properties
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
f5f094e632
|
Centralize function pointer accessors in T4 templates
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
2c9fda857b
|
Move resource texture manager accessors to T4 template
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
34837b8f6f
|
Remove some unnecessary casts
|
2022-08-15 15:01:16 +02:00 |
|
Sergio Pedri
|
73dc42c36c
|
Workaround for field marshalling on UWP
See https://github.com/dotnet/runtime/issues/37295
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
9115866c53
|
Add resource texture manager getters and setters
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
722ecf3287
|
Partially implement ID2D1ResourceTextureManager
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
aa21ceb0a6
|
Implement ID2D1ResourceTextureManagerInternal
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
5221a61048
|
Add ResourceTextureManager state fields
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
86138656da
|
Add ResourceTextureManager factory method
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
06b0d0ee64
|
Setup vtable for ResourceTextureManager type
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
2564031ea0
|
Split ResourceTextureManager logic in partial files
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
85f44c58d3
|
Suppress two warnings in polyfill types
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
882689cb51
|
Rename manager to D2D1ResourceTextureManager
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
bb77049d10
|
Add APIs for D2D1 resource manager interfaces
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
ef041a8fc2
|
Add missing D2D1 polyfills
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
f670089297
|
Add base D2D1ResourceTextureManager setup
|
2022-08-15 15:01:15 +02:00 |
|
Sergio Pedri
|
fc2610aab6
|
Remove <LangVersion>preview</LangVersion>
|
2022-08-15 15:00:14 +02:00 |
|
Sergio Pedri
|
c37efc1573
|
Merge pull request #346 from Sergio0694/dev/fix-float32to16-intrinsic
Fix Float32ToFloat16 intrinsic signatures
|
2022-08-13 23:40:09 +02:00 |
|
Sergio Pedri
|
3788ae7fc9
|
Fix Float32ToFloat16 intrinsic signatures
|
2022-08-13 23:04:33 +02:00 |
|
Sergio Pedri
|
ecc981ff5d
|
Merge pull request #344 from Sergio0694/dev/d2d1resourcetexture-generic
Make D2D1 resource texture types generic
|
2022-08-10 23:40:56 +02:00 |
|
Sergio Pedri
|
1f64e0e7fc
|
Rename Rank to Dimensions in D2D1ResourceTextureDescription
|
2022-08-10 22:43:29 +02:00 |
|
Sergio Pedri
|
4720e4d65c
|
Add float texture to test shader, compile it too
|
2022-08-10 22:40:39 +02:00 |
|
Sergio Pedri
|
3515c4402b
|
Add diagnostic for invalid D2D1 resource texture element type
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
97a87500e2
|
Update D2D1 mappings for generic resource texture types
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
3471d6233b
|
Make D2D1 resource texture types generic
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
00cbf9352d
|
Merge pull request #343 from Sergio0694/dev/fix-d2d-entry-point-check
Match for Float4 return for D2D entry point
|
2022-08-10 22:14:55 +02:00 |
|
Sergio Pedri
|
dc5260ea42
|
Match for Float4 return for D2D entry point
|
2022-08-10 15:25:07 +02:00 |
|
Sergio Pedri
|
ccc97b706a
|
Merge pull request #339 from Sergio0694/dev/sample-apis-update
Switch sample texture indexers to sample methods
|
2022-08-10 02:41:38 +02:00 |
|
Sergio Pedri
|
ab16a2ccb7
|
Temporarily comment out failing tests
Workaround until the new SDK with ref escape semantics is out
|
2022-08-10 02:15:05 +02:00 |
|
Sergio Pedri
|
d6502aa38c
|
Add "buffer" and "texture" known keywords
|
2022-08-09 23:46:11 +02:00 |
|
Sergio Pedri
|
9d70125da2
|
Fix capture delegate names lookup
|
2022-08-09 17:37:55 +02:00 |
|
Sergio Pedri
|
7b46a7d527
|
For matching of known sampler methods
|
2022-08-09 17:37:55 +02:00 |
|
Sergio Pedri
|
ae23529485
|
Remove some HLSL rewriting duplicated code
|
2022-08-09 17:37:55 +02:00 |
|
Sergio Pedri
|
945f6514b8
|
Update HLSL rewriters to use new Sample APIs
|
2022-08-09 17:37:55 +02:00 |
|
Sergio Pedri
|
0dd0bd587a
|
Move known samplers to HlslKnownMethods type
|
2022-08-09 17:37:55 +02:00 |
|
Sergio Pedri
|
6c75394e22
|
Update texture sampling calls in unit tests
|
2022-08-09 17:37:54 +02:00 |
|
Sergio Pedri
|
a7a4c22a9c
|
Change ComputeSharp.D2D1 sample APIs to Sample method
|
2022-08-09 17:37:54 +02:00 |
|
Sergio Pedri
|
789827aeca
|
Change ComputeSharp sample APIs to Sample method
|
2022-08-09 17:37:54 +02:00 |
|