コミットグラフ
2484 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri 9ede4fa012 Merge pull request #340 from Sergio0694/dev/fix-skiplocalsinit-visibility
Fix [SkipLocalsInit] visibility
2022-08-09 17:36:31 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri 1aa6633166 Add CompilationExtensions.HasAccessibleTypeWithMetadataName 2022-08-09 16:11:11 +02:00
Sergio Pedri 5b6833c32c Merge pull request #337 from Sergio0694/dev/share-hlsl-rewriting-logic
Share HLSL rewriting functionality between DX12 and D2D1
2022-08-09 14:20:58 +02:00
Sergio Pedri 3e6aedaed1 Move StaticFieldRewriter to shared file 2022-08-09 13:37:20 +02:00
Sergio Pedri 7e5e695c2a Move ShaderSourceRewriter to shared file 2022-08-09 13:25:22 +02:00
Sergio Pedri baffb8fccb Move HlslSourceRewriter to shared file 2022-08-09 12:54:14 +02:00
Sergio Pedri 9df9c57a67 Move NeedsD2DRequiresScenePositionAttribute down 2022-08-09 12:41:54 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri a174018af9 Merge pull request #336 from Sergio0694/dev/d2d1-texture-resources
Add support for D2D1 resource textures
2022-08-09 12:19:08 +02:00
Sergio Pedri 5db82e344b Temporarily disable flaky unit tests 2022-08-09 11:55:40 +02:00
Sergio Pedri 9d01d99023 Add unit tests for D2D1PixelShader.GetResourceTextureDescriptions 2022-08-09 11:06:11 +02:00
Sergio Pedri 3e3d7fa36f Implement HLSL rewriting for resource texture size properties 2022-08-09 00:33:07 +02:00
Sergio Pedri 30fcb8675d Implement HLSL rewriting for resource texture indexers 2022-08-09 00:22:27 +02:00
Sergio Pedri 53411903c1 Fix incorrect [D2DRequiresScenePosition] name in diagnostic 2022-08-09 00:22:05 +02:00
Sergio Pedri 6bda02c86f Remove unnecessary code 2022-08-09 00:22:05 +02:00
Sergio Pedri 01549c6846 Implement HLSL generation for resource textures 2022-08-09 00:22:05 +02:00
Sergio Pedri 675bb94b7c Fix resource texture index generator with missing attributes 2022-08-08 15:45:45 +02:00
Sergio Pedri 21328f54a5 Add diagnostic for missing [D2DResourceTextureIndex] attribute 2022-08-08 15:45:45 +02:00
Sergio Pedri a3635b09d9 Add diagnostics for invalid [D2DResourceTextureIndex] uses 2022-08-08 15:45:45 +02:00
Sergio Pedri fdc69ed292 Add diagnostics for invalid resource texture setups 2022-08-08 15:45:44 +02:00
Sergio Pedri 8b42c7011e Initial implementation of LoadResourceTextureDescriptions generator 2022-08-08 15:45:44 +02:00
Sergio Pedri b28d3f2500 Add D2D1 resource texture types to HlslKnownTypes 2022-08-08 15:45:44 +02:00
Sergio Pedri eda4bd43ff Share known properties with D2D1 generator, add D2D1 mappings 2022-08-08 15:45:44 +02:00
Sergio Pedri ecb8991807 Fix names of D2D1 resource texture types 2022-08-08 15:45:44 +02:00
Sergio Pedri a854aead17 Add D2D1PixelShader.GetResourceTextureDescriptions API 2022-08-08 15:45:44 +02:00
Sergio Pedri 9199e0c6b9 Add D2D1ResourceTextureDescription type 2022-08-08 15:45:44 +02:00
Sergio Pedri abb1d46a2d Add ID2D1ResourceTextureDescriptionsLoader and API 2022-08-08 15:45:44 +02:00
Sergio Pedri 7216a7b72e Add 1D and 3D texture resource types 2022-08-08 15:45:44 +02:00
Sergio Pedri d509767d45 Rename two files to match the type names 2022-08-08 15:45:44 +02:00
Sergio Pedri 35e5bd90a3 Add the D2DResourceIndexAttribute type 2022-08-08 15:45:44 +02:00
Sergio Pedri 4c2920e659 Add D2D1TextureResource intrinsic type 2022-08-08 15:45:44 +02:00
Sergio Pedri 4f6d94cc8f Enable generator support for defaulted fields 2022-08-08 15:45:44 +02:00
Sergio Pedri 5a93bc23eb Add AutoConstructorBehaviorAttribute type 2022-08-08 15:45:44 +02:00
Sergio Pedri ef4834be94 Fix a StackOverflowException in some polyfills
These APIs were never actually called by any code paths reachable by ComputeSharp (they're mostly there just to make porting polyfills easier), but still good to fix
2022-08-08 15:45:23 +02:00
Sergio Pedri 8cc1e42fe9 Update .NET Community Toolkit to 8.0.0 2022-08-08 02:28:34 +02:00
Sergio Pedri 18521030b3 Merge pull request #334 from Sergio0694/dev/cleanup-d2d1-root-signature-code
Simplify D2D1 constant buffer load generator, fix size limit
2022-08-08 02:23:25 +02:00
Sergio Pedri b51b002a3a Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
2022-08-08 01:33:38 +02:00
Sergio Pedri c9b4bf3431 Merge pull request #333 from Sergio0694/dev/fix-missing-pools
Fix two allocations using D3D12MA without custom pools
2022-08-07 18:42:12 +02:00
Sergio Pedri 049e18e92d Merge pull request #332 from Sergio0694/dev/d2drequiressceneposition-diagnostics
Add diagnostic for missing [D2DRequiresPosition] attribute
2022-08-07 18:41:56 +02:00