コミットグラフ
4177 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 3e25eeb8b7 Move FloatExtensions and VectorExtensions to .Core 2023-12-09 19:28:47 +01:00
Sergio Pedri 317a537e10 Merge pull request #711 from Sergio0694/dev/remove-numerics-projections
Remove VectorN/Math/MatF HLSL projections
2023-12-09 19:28:32 +01:00
Sergio Pedri 2b1b864c8d Add dedicated diagnostic for Math/MathF calls 2023-12-09 18:38:20 +01:00
Sergio Pedri 3b92f3d595 Remove VectorN/Math/MatF HLSL projections 2023-12-09 16:30:30 +01:00
Sergio Pedri e0a5f6e6af Merge pull request #710 from Sergio0694/dev/skip-useless-directive
Skip generating unnecessary using for constant buffer
2023-12-09 02:49:06 +01:00
Sergio Pedri b88208a04a Skip generating unnecessary using for constant buffer 2023-12-09 02:06:37 +01:00
Sergio Pedri 5bffcc4cb9 Merge pull request #709 from Sergio0694/dev/generator-tweaks
Optimize HLSL type lookups in generators, refactor code
2023-12-08 18:07:00 +01:00
Sergio Pedri fb559bab8b Optimize HlslKnownTypes.IsNonLinearMatrixType lookups 2023-12-08 14:05:39 +01:00
Sergio Pedri 263b5e26db Use explicit types for static builder methods 2023-12-08 13:24:19 +01:00
Sergio Pedri 11efdfdb1f Add missing nullability annotation, remove suppression 2023-12-08 13:20:48 +01:00
Sergio Pedri 9bba3e58f6 Centralize leftover TrackType method, simplify code 2023-12-08 13:20:48 +01:00
Sergio Pedri 0e82ce93e3 Optimize lookups for HLSL known types 2023-12-08 13:20:47 +01:00
Sergio Pedri 058db06971 Use collection expressions in more places 2023-12-08 12:54:21 +01:00
Sergio Pedri 95a1ecd5c4 Merge pull request #708 from Sergio0694/dev/tweak-tests
Tweak unit test files
2023-12-08 12:27:51 +01:00
Sergio Pedri 745f3ca786 Fix incorrect comment in ConstantBufferSyntaxProcessor 2023-12-08 02:41:23 +01:00
Sergio Pedri 16582d2215 Remove unnecessary [TestCategory] attributes 2023-12-08 02:41:11 +01:00
Sergio Pedri 00d11e912a Rename incorrectly named test file 2023-12-08 02:16:50 +01:00
Sergio Pedri 2993efecb2 Merge pull request #707 from Sergio0694/dev/d2d-strip-reflection
Add D2D1CompileOptions.StripReflectionData flag
2023-12-08 02:04:38 +01:00
Sergio Pedri fd8e12d366 Remove blank lines in all binding enum types 2023-12-07 12:09:19 +01:00
Sergio Pedri 5daf79a9c6 Add strip reflection data test to D2D1PixelShaderTests 2023-12-07 12:01:27 +01:00
Sergio Pedri 2d952769ee Add unit test for D2D shader reflection stripping 2023-12-07 12:01:19 +01:00
Sergio Pedri 3c040b79b0 Enable StripReflectionData at runtime 2023-12-07 12:01:19 +01:00
Sergio Pedri 7726ba445e Enable StripReflectionData flag in D2D generator 2023-12-07 12:01:19 +01:00
Sergio Pedri b01e59ea1d Add D2D1CompileOptions.StripReflectionData flag 2023-12-07 11:31:11 +01:00
Sergio Pedri 2dca94343b Merge pull request #706 from Sergio0694/dev/always-flow-cancellation-token
Flow cancellation token to all semantics operations
2023-12-06 23:58:47 +01:00
Sergio Pedri e39fa4feaf Flow cancellation token to GetOperation calls 2023-12-06 22:31:47 +01:00
Sergio Pedri 031f2f7948 Flow cancellation token to GetTypeInfo calls 2023-12-06 22:28:16 +01:00
Sergio Pedri bf11fc7620 Move HLSL tracking extensions to HlslSourceRewriter 2023-12-06 22:27:14 +01:00
Sergio Pedri f56458d4c9 Merge pull request #703 from Sergio0694/dev/external-static-fields
Implement full support for static fields
2023-12-06 21:58:02 +01:00
Sergio Pedri b832874e55 Track [D2DRequiresScenePosition] from external static fields 2023-12-06 21:12:42 +01:00
Sergio Pedri 785f332581 Optimize HlslSourceRewriter.VisitIdentifierName 2023-12-06 21:12:42 +01:00
Sergio Pedri 5973921567 Handle identifier names for all static shader fields 2023-12-06 21:12:42 +01:00
Sergio Pedri c0f1ad6a1e Handle member accesses for static shader fields 2023-12-06 21:12:42 +01:00
Sergio Pedri f844452072 Add unit test for simple external static accesses 2023-12-06 21:12:42 +01:00
Sergio Pedri 1372d14a90 Enable tracking external static fields 2023-12-06 21:12:42 +01:00
Sergio Pedri dedfbd8728 Use primary constructor in ShaderSourceRewriter 2023-12-06 21:12:42 +01:00
Sergio Pedri 74820e1b57 Remove unnecessary ShaderSourceRewriter constructor
Also fix the nullability of the shaderType field
2023-12-06 21:12:42 +01:00
Sergio Pedri eefd0de9f0 Add mapping of static fields to HLSL rewriters 2023-12-06 21:12:42 +01:00
Sergio Pedri 4f60d70411 Use shared static field rewriter in DX12/D2D generators 2023-12-06 21:12:42 +01:00
Sergio Pedri c0e78bb1a2 Add HlslDefinitionsSyntaxProcessor.TryGetStaticField 2023-12-06 21:12:42 +01:00
Sergio Pedri 361b0b496b Merge pull request #705 from Sergio0694/dev/disallow-this
Add diagnostics for invalid 'this' expressions
2023-12-06 20:49:47 +01:00
Sergio Pedri 48fbe67162 Add diagnostics unit tests for invalid 'this' expressions 2023-12-06 20:22:35 +01:00
Sergio Pedri b49e3365a4 Add diagnostic for invalid 'this' expressions 2023-12-06 20:22:19 +01:00
Sergio Pedri b19ca68920 Merge pull request #704 from Sergio0694/dev/tweak-group-shared-analyzer
Remove unnecessary symbol in [GroupShared] analyzer
2023-12-06 12:39:24 +01:00
Sergio Pedri 50d6f211d3 Remove unnecessary symbol in [GroupShared] analyzer 2023-12-06 03:04:28 +01:00
Sergio Pedri 2a2b5b08c5 Merge pull request #702 from Sergio0694/dev/keep-instance-identifiers
Keep original identifiers for instance methods
2023-12-04 22:42:58 +01:00
Sergio Pedri 3d1a131d23 Apply IDE0001 code fixers (simplify names) 2023-12-04 20:42:31 +01:00
Sergio Pedri 016d51e161 Avoid rewriting identifiers for instance methods 2023-12-04 20:41:37 +01:00
Sergio Pedri ea9cc0809a Merge pull request #701 from Sergio0694/dev/hlsl-rewriter-cancellation
Check for cancellation during HLSL rewriting
2023-12-04 12:07:29 +01:00
Sergio Pedri c0f83657b3 Check for cancellation during HLSL rewriting 2023-12-03 14:11:21 +01:00