コミットグラフ
2886 コミット
作成者 SHA1 メッセージ 日付
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 28a24e9408 Remove leftover manual constructors 2023-12-25 23:21:19 +01:00
Sergio Pedri e7ef3c8109 Add handling of bool parameters in constructors 2023-12-25 23:21:19 +01:00
Sergio Pedri f537ae183e Generate all new HLSL vector constructors 2023-12-25 23:21:18 +01:00
Sergio Pedri f3a9cebfc1 Add T4 code to generate HLSL vector constructors 2023-12-25 23:21:18 +01:00
Sergio Pedri ba85672854 Tweak XML docs in InteropServices APIs 2023-12-25 23:00:05 +01: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 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri eeffa36419 Update all NuGet dependencies to latest stable 2023-12-21 23:51:36 +01:00
Sergio Pedri 83000839dd Handle shader fields of ComputeSharp.Bool type 2023-12-21 18:47:05 +00:00
Sergio Pedri f1e0560053 Support 'this.' expressions in shader custom types 2023-12-21 19:26:26 +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 180183ec13 Remove leftover syntax factory helpers 2023-12-17 18:29:15 +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 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 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 034eeb3610 Add D2DRequiresDoublePrecisionSupportAttribute 2023-12-16 16:18:40 +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 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 eab0bfbdd5 Use stackalloc to marshal constant buffer if possible 2023-12-14 22:20:47 +01:00
Sergio Pedri 82152af1d6 Avoid rooting IUnknown metadata info 2023-12-14 17:59:07 +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 4b6edfd070 Handle recursive members when rewriting HLSL 2023-12-14 16:08:09 +01:00
Sergio Pedri b1094ba061 Fix invalid arguments passed to HLSL rewriters 2023-12-14 15:56:08 +01:00
Sergio Pedri 8d5d24ea44 Adopt HlslSourceHelper type to generate HLSL sources 2023-12-13 14:22:25 +01:00
Sergio Pedri 4bbe96af12 Add HlslSourceHelper helper type 2023-12-13 14:22:25 +01:00