コミットグラフ
36 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 883d99ca9f Use pooled array builders in all generators 2022-10-07 09:14:17 -07:00
Sergio Pedri c7583eb3c7 Minor tweaks and improvements to ID2D1ShaderGenerator 2022-09-18 14:22:21 +02:00
Sergio Pedri a205efe6fa Remove symbols from IShaderGenerator pipeline 2022-09-17 20:35:38 +02:00
Sergio Pedri 9eac3c779d Refactor diagnostic models to be properly equatable 2022-09-17 17:58:44 +02:00
Sergio Pedri d62c459633 Remove symbols from ID2D1ShaderGenerator pipeline 2022-09-17 16:43:13 +02:00
Sergio Pedri 87f2e04ca0 Make all models directly equatable 2022-09-17 14:48:33 +02:00
Sergio Pedri f27e98f2fa Add new InvalidD2DResourceTextureIndexUseAnalyzer analyzer 2022-09-17 13:11:14 +02:00
Sergio Pedri 5204402c49 Add new InvalidAssemblyLevelCompileOptionsAnalyzer analyzer 2022-09-17 13:07:21 +02:00
Sergio Pedri 5cd53f3077 Remove conditional paths for raw multiline strings 2022-09-16 23:03:35 +02:00
Sergio Pedri 579e9786e9 Use .g.cs suffix for all generated files 2022-09-06 07:57:05 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri a3635b09d9 Add diagnostics for invalid [D2DResourceTextureIndex] uses 2022-08-08 15:45:45 +02:00
Sergio Pedri 8b42c7011e Initial implementation of LoadResourceTextureDescriptions generator 2022-08-08 15:45:44 +02:00
Sergio Pedri b51b002a3a Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
2022-08-08 01:33:38 +02:00
Sergio Pedri a62f8ec774 Fix build error in ComputeSharp with C# preview 2022-06-05 13:55:49 +02:00
Sergio PedriとAshley 772553852c Use pattern matching to check parse options
Co-authored-by: Ashley <[email protected]>
2022-05-29 03:25:40 +02:00
Sergio Pedri 502baaca03 Use raw multiline string literals for generated HLSL source
This is optionally enabled when C# preview is used
2022-05-29 03:25:40 +02:00
Simona Koníčková 1465b5fd9d Use GetText instead of ToFullString 2022-05-28 03:14:22 +02:00
Sergio Pedri f49831567e Use AttributeData for [D2DCompileOptions] assembly diagnostics 2022-05-27 18:37:35 +02:00
Sergio Pedri 7411c1fe0d Add diagnostics for [D2DCompileOptions] at assembly level 2022-05-24 22:10:15 +02:00
Sergio Pedri d75993107a Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
2022-05-22 15:50:28 +02:00
Sergio Pedri b4b8b76d2f Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode] 2022-05-22 01:50:14 +02:00
Sergio Pedri 0bfe836a4e Capture D2D1CompileOptions in source generator 2022-05-22 01:40:09 +02:00
Sergio Pedri 77c43a819e Optimize diagnostics flow in D2D1 source generator 2022-05-22 01:39:42 +02:00
Sergio Pedri ec1798cbe3 Rename and tweak D2D1PixelOptions type 2022-05-08 21:50:17 +02:00
Sergio Pedri b211932881 Enable generation for ID2D1Shader.GetPixelOptions API 2022-05-08 21:50:17 +02:00
Sergio Pedri 3b760f02d4 Enable generation for ID2D1Shader.LoadInputDescriptions API 2022-05-08 18:40:26 +02:00
Sergio Pedri 80fea25b5a Enable generation for ID2D1Shader.GetOutputBuffer 2022-05-07 21:24:12 +02:00
Sergio Pedri 6455678056 Implement generation for ID2D1Shader.GetInputType(uint) API 2022-05-06 03:16:08 +02:00
Sergio Pedri 5a4b7a8a86 Add ID2D1Shader.GetInputCount() method generation 2022-04-27 23:50:26 +02:00
Sergio Pedri f7612b587e Fix D2D1 generator error when checking for simple inputs 2022-04-24 21:04:33 +02:00
Sergio Pedri ee01ddd9db Minor optimization to diagnostics for HLSL errors 2022-04-24 21:04:32 +02:00
Sergio Pedri a5088788c4 Fix diagnostics for HLSL build generator errors 2022-04-24 21:04:32 +02:00
Sergio Pedri d0dfd82f06 Add ID2D1Shader.InitializeFromDispatchData API to support transforms 2022-04-24 21:04:31 +02:00
Sergio Pedri fd9d8a6f65 Disable shader compilation if any errors are present 2022-04-24 21:04:30 +02:00
Sergio Pedri 5390d8b27c Rename package to ComputeSharp.D2D1
Also rename D2D1 to D2D for consistency with HLSL, and tweak namespaces
2022-04-24 21:04:30 +02:00