コミットグラフ
4264 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 484f19c313 Use CRLF in all T4 files (.gitattributes) 2023-12-25 22:52:39 +01:00
Sergio Pedri 359064948d Merge pull request #737 from Sergio0694/dev/format-t4
Fix whitespace formatting in all T4 files
2023-12-25 20:26:14 +00:00
Sergio Pedri 927444ff5b Fix spacing in PixelShaderEffect.Properties.g.cs 2023-12-25 17:56:05 +01:00
Sergio Pedri 6497b5223a Change line ending in T4 files to CRLF 2023-12-25 17:51:57 +01:00
Sergio Pedri e276231756 Remove trailing newline to some leftover files 2023-12-25 17:37:17 +01:00
Sergio Pedri 8a8f2b44c6 Use CRLF in all T4 files 2023-12-25 17:34:30 +01:00
Sergio Pedri 8fc5dc9817 Merge pull request #734 from Sergio0694/dev/refactor-generator-tests2
Centralize source generator testing logic
2023-12-23 16:50:49 +00:00
Sergio Pedri 18e8f03cb1 Use CSharpGeneratorTest in output tests 2023-12-23 17:32:34 +01:00
Sergio Pedri 7c28ec9bf5 Use CSharpGeneratorTest in diagnostic tests 2023-12-23 17:24:20 +01:00
Sergio Pedri 15c7d78a5e Rename D3D12 DiagnosticsTests file for consistency 2023-12-23 17:21:33 +01:00
Sergio Pedri 67f9ebecca Add CSharpGeneratorTest<TGenerator> helper type 2023-12-23 17:21:32 +01:00
Sergio Pedri eaecb2a440 Merge pull request #733 from Sergio0694/dev/remove-hlsl-header
Remove header from generated HLSL sources
2023-12-22 18:11:46 +00:00
Sergio Pedri 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri ace48cb69d Merge pull request #732 from Sergio0694/dev/simplify-warns
Centralize and cleanup NoWarn properties
2023-12-22 01:16:01 +00:00
Sergio Pedri 51895aa970 Centralize and cleanup <NoWarn> properties 2023-12-22 01:50:11 +01:00
Sergio Pedri 43231de08d Merge pull request #731 from Sergio0694/dev/update-dependencies
Update NuGet packages to latest stable
2023-12-22 00:47:06 +00:00
Sergio Pedri eeffa36419 Update all NuGet dependencies to latest stable 2023-12-21 23:51:36 +01:00
Sergio Pedri 4f0b5ea4c4 Merge pull request #730 from Sergio0694/dev/computesharp-bool-fields
Fix support for ComputeSharp.Bool shader fields
2023-12-21 19:43:59 +00:00
Sergio Pedri 1349c88145 Add unit tests for shader ComputeSharp.Bool fields 2023-12-21 18:47:05 +00:00
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