コミットグラフ
2854 コミット
作成者 SHA1 メッセージ 日付
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
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 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 23f273b43a Add implicit conversion operators for float3x2, float4x4 2023-12-09 19:28:47 +01:00
Sergio Pedri 6eba10e18b Use collection expressions in more places 2023-12-09 19:28:47 +01:00
Sergio Pedri 3e25eeb8b7 Move FloatExtensions and VectorExtensions to .Core 2023-12-09 19:28:47 +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 b88208a04a Skip generating unnecessary using for constant buffer 2023-12-09 02:06:37 +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 745f3ca786 Fix incorrect comment in ConstantBufferSyntaxProcessor 2023-12-08 02:41:23 +01:00
Sergio Pedri fd8e12d366 Remove blank lines in all binding enum types 2023-12-07 12:09: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 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 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 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