コミットグラフ
4245 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 83000839dd Handle shader fields of ComputeSharp.Bool type 2023-12-21 18:47:05 +00:00
Sergio Pedri 4a016feffa Merge pull request #729 from Sergio0694/dev/this-expressions
Support 'this.' expressions within custom types
2023-12-21 18:46:51 +00:00
Sergio Pedri c3ae04f668 Add unit test for 'this.' expression rewriting 2023-12-21 19:26:26 +01:00
Sergio Pedri f1e0560053 Support 'this.' expressions in shader custom types 2023-12-21 19:26:26 +01:00
Sergio Pedri f5e182c3f8 Merge pull request #728 from Sergio0694/dev/fix-methods-forward-declarations
Fix invalid HLSL for shader methods using custom types in signatures
2023-12-21 18:26:02 +00:00
Sergio Pedri 5f429dfd38 Add D2D tests for shader rewriting 2023-12-21 18:50:30 +01:00
Sergio Pedri 2cb61a3eec Fix sorting of custom type declarations in HLSL 2023-12-21 18:50:30 +01:00
Sergio Pedri a926a1211f Move and rename the HlslSourceHelper type 2023-12-21 18:40:13 +01:00
Sergio Pedri 2f6ab50b9e Merge pull request #724 from Sergio0694/dev/remove-leftover-syntax
Remove leftover syntax factory helpers
2023-12-17 21:09:46 +01:00
Sergio Pedri 180183ec13 Remove leftover syntax factory helpers 2023-12-17 18:29:15 +01:00
Sergio Pedri 212e974a79 Merge pull request #723 from Sergio0694/dev/d2d-generator-tweaks
Check cancellation for D2D linked shaders, share code
2023-12-17 18:25:51 +01:00
Sergio Pedri 86b39c28f5 Refactor HlslBytecodeSyntaxProcessor partial constants 2023-12-17 15:09:00 +01:00
Sergio Pedri 9c645170c8 Adopt HlslBytecodeSyntaxProcessor in both generators 2023-12-17 14:43:38 +01:00
Sergio Pedri 2a519c3f51 Add HlslBytecodeSyntaxProcessor shared helper type 2023-12-17 13:31:17 +01:00
Sergio Pedri ef821be2b2 Add Encoding.GetBytes polyfill to simplify D3DCompiler 2023-12-17 12:48:27 +01:00
Sergio Pedri 963ec0ecb4 Use cancellation token for D2D shader linking 2023-12-17 12:48:27 +01:00
Sergio Pedri 23ef66657d Merge pull request #722 from Sergio0694/dev/requires-double-precision-support
Add [RequiresDoublePrecisionSupport] attribute
2023-12-17 12:48:08 +01:00
Sergio Pedri e27b7e4379 Minor tweaks to DiagnosticInfo 2023-12-17 12:26:38 +01:00
Sergio Pedri cea25fbd4d Add [RequiresDoublePrecisionSupport] to test shaders 2023-12-17 12:18:41 +01:00
Sergio Pedri a98f53d874 Add diagnostic tests for [RequiresDoublePrecisionSupport] 2023-12-17 12:18:41 +01:00
Sergio Pedri 2c6eb178d5 Add [RequiresDoublePrecisionSupport] diagnostics 2023-12-17 12:18:41 +01:00
Sergio Pedri aa127b8f09 Move FixupExceptionMessage to DxcShaderCompiler 2023-12-17 12:18:41 +01:00
Sergio Pedri 9bad2e99db Add double precision support check to DX12 generator 2023-12-17 12:18:41 +01:00
Sergio Pedri 35bc8ce649 Minor code tweaks to DX12 generator 2023-12-17 12:17:21 +01:00
Sergio Pedri ac66eb7827 Add RequiresDoublePrecisionSupportAttribute 2023-12-17 12:17:21 +01:00
Sergio Pedri d98e57d67d Merge pull request #721 from Sergio0694/dev/d2d-requires-double-precision-support
Add [D2DRequiresDoublePrecisionSupport] attribute
2023-12-17 12:16:54 +01:00
Sergio Pedri 5d58622ddf Move D2D reflection code to D2D generator only 2023-12-17 02:39:45 +01:00
Sergio Pedri 76752e2e47 Add InvalidD2DRequiresDoublePrecisionSupportAnalyzer and tests 2023-12-16 18:13:32 +01:00
Sergio Pedri ed953c6bf1 Add diagnostic tests for double precision attribute 2023-12-16 18:13:32 +01:00
Sergio Pedri 0051423caa Add diagnostics for incorrect double precision annotations 2023-12-16 18:13:32 +01:00
Sergio Pedri f16dcab8fd Add check for double precision in D2D1 generator 2023-12-16 17:34:20 +01:00
Sergio Pedri 034eeb3610 Add D2DRequiresDoublePrecisionSupportAttribute 2023-12-16 16:18:40 +01:00
Sergio Pedri c71770f7ec Merge pull request #720 from Sergio0694/dev/d2d-enable-runtime-compilation
Add [D2DEnableRuntimeCompilation] and analyzers
2023-12-16 16:17:55 +01:00
Sergio Pedri 8474eec869 Add D2DEnableRuntimeCompilationOnAssemblyAnalyzer and tests 2023-12-16 13:30:58 +01:00
Sergio Pedri 3722eb3026 Add more diagnostics for [D2DEnableRuntimeCompilation] 2023-12-16 13:19:55 +01:00
Sergio Pedri 2d03612a1d Add [D2DEnableRuntimeCompilation] to test projects 2023-12-16 03:11:19 +01:00
Sergio Pedri f603434310 Add tests for D2DRuntimeCompilationDisabledAnalyzer 2023-12-16 02:35:24 +01:00
Sergio Pedri 37af7113e6 Add D2DRuntimeCompilationDisabledAnalyzer 2023-12-16 02:26:02 +01:00
Sergio Pedri eb5a1d4acf Add D2DEnableRuntimeCompilationAttribute type 2023-12-16 02:14:58 +01:00
Sergio Pedri 1ffa43ed34 Use semicolon token type declarations if possible 2023-12-16 00:04:59 +01:00
Sergio Pedri 347ae52d83 Merge pull request #719 from Sergio0694/dev/opportunistic-stackalloc
Use stackalloc to marshal constant buffer if possible
2023-12-15 22:04:11 +01:00
Sergio Pedri eab0bfbdd5 Use stackalloc to marshal constant buffer if possible 2023-12-14 22:20:47 +01:00
Sergio Pedri 8c1a54768b Merge pull request #718 from Sergio0694/dev/drop-factory-target-reflection
Avoid rooting IUnknown metadata info
2023-12-14 19:02:18 +01:00
Sergio Pedri 82152af1d6 Avoid rooting IUnknown metadata info 2023-12-14 17:59:07 +01:00
Sergio Pedri 77dab312d4 Merge pull request #715 from Sergio0694/dev/rename-transform-mappers
Refactor D2DTransformMapper<T> APIs
2023-12-14 17:58:50 +01:00
Sergio Pedri 6093d7b01b Move internal ID2D1DrawTransformMapperInterop type 2023-12-14 17:41:15 +01:00
Sergio Pedri 771c585bae Seal D2D1DrawTransformMapper<T, TParameters> methods 2023-12-14 16:43:50 +01:00
Sergio Pedri 755c82d7bd Rename mapper type to D2D1DrawTransformMapper<T> 2023-12-14 16:43:50 +01:00
Sergio Pedri 726bac4818 Move transform mapper factory methods into same type
Simplify names
2023-12-14 16:43:50 +01:00
Sergio Pedri d6ed7dd696 Merge pull request #717 from Sergio0694/dev/fix-rewriting-recursion
Handle recursive members in HLSL rewriting
2023-12-14 16:43:18 +01:00