コミットグラフ
367 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 3ae80f1698 Remove diagnostics from D2D input descriptions generator 2024-01-01 23:34:17 +01:00
Sergio Pedri aec5615a53 Add InvalidD2DInputDescriptionAttributeUseAnalyzer 2024-01-01 23:33:08 +01:00
Sergio Pedri d687e3b499 Add ExcedeedPixelShaderDispatchDataSizeAnalyzer 2024-01-01 19:03:15 +01:00
Sergio Pedri 03d580bd4b Remove a couple of string allocations 2023-12-31 16:17:01 +01:00
Sergio Pedri a66ebfe8dc Add InvalidShaderTypeCompileOptionsAnalyzer 2023-12-31 16:03:25 +01:00
Sergio Pedri b9c61496ef Use Encoding polyfills in CreateDefaultEffectId 2023-12-31 15:00:27 +01:00
Sergio Pedri 5a638be970 Bug fixes, enable multiple resource texture diagnostics 2023-12-31 00:33:51 +01:00
Sergio Pedri 130f30f3a0 Remove leftover diagnostics from D2D generator 2023-12-30 23:58:31 +01:00
Sergio Pedri a22b6e4b7b Add InvalidD2DResourceTextureIndexAttributeUseAnalyzer 2023-12-30 23:58:20 +01:00
Sergio Pedri 986cd80f8e Rename InvalidD2DResourceTextureIndexUseAnalyzer 2023-12-30 23:19:25 +01:00
Sergio Pedri f8f2e9c1e6 Use concrete types for all generator mapping fields 2023-12-30 23:12:03 +01:00
Sergio Pedri 4cf19792a5 Optimize InvalidD2DResourceTextureIndexUseAnalyzer 2023-12-30 22:49:28 +01:00
Sergio Pedri 88ae6c12d3 Minor optimizations to resource texture processing 2023-12-30 22:37:30 +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 e276231756 Remove trailing newline to some leftover files 2023-12-25 17:37:17 +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 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 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 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 76752e2e47 Add InvalidD2DRequiresDoublePrecisionSupportAnalyzer and tests 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 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 37af7113e6 Add D2DRuntimeCompilationDisabledAnalyzer 2023-12-16 02:26:02 +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 556876349e Minor code tweak, add more comments 2023-12-12 23:24:19 +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 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 7726ba445e Enable StripReflectionData flag in D2D generator 2023-12-07 12:01:19 +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