コミットグラフ
594 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri b6bcc1c6cc Make 'AllowsUnsafeBlocks' analyzer target attributes 2024-06-16 19:32:08 -07:00
Sergio Pedri 7b59e4ae28 Add missing blank line in DX12's 'LoadConstantBuffer' 2024-06-06 20:42:05 -07:00
Sergio Pedri 94a1f85415 Don't rewrite 'ConstantBuffer<T>.Length' 2024-06-05 19:32:00 -07:00
Sergio Pedri e6c194bdd9 Disable CsWin32 friendly overloads 2024-05-11 22:54:47 +02:00
Sergio Pedri ac46fcc4ea Update NuGet packages to latest stable 2024-05-11 22:40:39 +02:00
Sergio Pedri a5aff06390 Fix all new code style warnings 2024-03-05 10:44:30 -08:00
Sergio Pedri 10ef020591 Update NuGet packages to latest (no WASDK) 2024-03-05 10:40:02 -08:00
Sergio Pedri 645c0f4e91 Reorder steps in the DX12 generator 2024-01-07 21:07:19 +01:00
Sergio Pedri 38c885f74e Add ExcedeedPixelShaderDispatchDataSizeAnalyzer 2024-01-07 20:55:26 +01:00
Sergio Pedri d1578bb997 Remove leftover code in HlslBytecode 2024-01-07 20:30:11 +01:00
Sergio Pedri b912ab1cc1 Add InvalidThreadGroupSizeAttributeUseAnalyzer 2024-01-07 20:24:45 +01:00
Sergio Pedri 942f3aa50b Add fast-path ConstantBufferSyntaxProcessor APIs 2024-01-01 19:03:15 +01:00
Sergio Pedri f8f2e9c1e6 Use concrete types for all generator mapping fields 2023-12-30 23:12:03 +01:00
Sergio Pedri fe3a6a1024 Skip diagnostic outputs when no diagnostics present 2023-12-26 15:57:03 +01:00
Sergio Pedri 50c6a9435f Add tracking steps to DX12/D2D source generators 2023-12-26 14:45:31 +01:00
Sergio Pedri 69df02005b Move cast explicit operators to T4 2023-12-26 02:56:11 +01:00
Sergio Pedri 0c2b2bca35 Move scalar promotion implicit operators to T4 2023-12-26 00:04:23 +01:00
Sergio Pedri 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri a926a1211f Move and rename the HlslSourceHelper type 2023-12-21 18:40:13 +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 e27b7e4379 Minor tweaks to DiagnosticInfo 2023-12-17 12:26:38 +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 5d58622ddf Move D2D reflection code to D2D generator only 2023-12-17 02:39:45 +01:00
Sergio Pedri f16dcab8fd Add check for double precision in D2D1 generator 2023-12-16 17:34:20 +01:00
Sergio Pedri 8d5d24ea44 Adopt HlslSourceHelper type to generate HLSL sources 2023-12-13 14:22:25 +01:00
Sergio Pedri fb3439556c Use forward declarations wherever possible 2023-12-13 14:22:25 +01:00
Sergio Pedri 0d667a5da0 Use type aliases in DX12/D2D generators to write HLSL 2023-12-12 23:22:37 +01:00
Sergio Pedri 1cc03cdd7b Simplify code in DX12 HLSL generation 2023-12-12 22:47:35 +01:00
Sergio Pedri 2544c039d6 Switch HLSL writing to IndentedTextWriter 2023-12-10 21:57:26 +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 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 b832874e55 Track [D2DRequiresScenePosition] from external static fields 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 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 b49e3365a4 Add diagnostic for invalid 'this' expressions 2023-12-06 20:22:19 +01:00
Sergio Pedri 50d6f211d3 Remove unnecessary symbol in [GroupShared] analyzer 2023-12-06 03:04:28 +01:00
Sergio Pedri c0f83657b3 Check for cancellation during HLSL rewriting 2023-12-03 14:11:21 +01:00
Sergio Pedri 7e7b57cd67 Add a diagnostic for constructors with base constructors 2023-12-02 23:25:23 +01:00
Sergio Pedri 7a1aed7890 Plug constructors support into D2D generator too 2023-12-02 19:46:55 +01:00
Sergio Pedri b685f09d06 Enable constructors support in DX12 shaders 2023-12-02 19:13:26 +01:00
Sergio Pedri c9272392d1 Pass cancellation token to SyntaxReferece.GetSyntax() 2023-11-30 20:42:06 +01:00