コミットグラフ
39 コミット
作成者 SHA1 メッセージ 日付
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 a3a0425419 Add D2DCompileOptionsAttribute type 2022-05-22 01:17:35 +02:00
Sergio Pedri e5c24bc9d7 Code refactoring in internal D3DCompiler APIs 2022-05-20 21:47:07 +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 6fbdef8ce4 Add D2D1 pixel option types and APIs 2022-05-08 21:50:17 +02:00
Sergio Pedri 6a83c6827d Rename input description LevelOfDetailCount parameter
Closes #270
2022-05-08 21:49:52 +02:00
Sergio Pedri 3b760f02d4 Enable generation for ID2D1Shader.LoadInputDescriptions API 2022-05-08 18:40:26 +02:00
Sergio Pedri 54d7cb53e2 Add D2D1 input description types 2022-05-08 18:40:25 +02:00
Sergio Pedri 80fea25b5a Enable generation for ID2D1Shader.GetOutputBuffer 2022-05-07 21:24:12 +02:00
Sergio Pedri f8b05d070c Add D2DOutputBuffer attribute and types 2022-05-07 21:24:12 +02:00
Sergio Pedri 245c308ad1 Make ID2D1Shader.GetInputType branchless 2022-05-06 23:50:27 +02:00
Sergio Pedri e7c4288adf Add D2D1InteropServices.GetPixelShaderInputType API 2022-05-06 19:34:31 +02:00
Sergio Pedri 6455678056 Implement generation for ID2D1Shader.GetInputType(uint) API 2022-05-06 03:16:08 +02:00
Sergio Pedri ee16303aeb Fix constants tracking when rewriting shader fields 2022-05-04 23:28:08 +02:00
Sergio Pedri 092a1eb814 Add unit test for void intrinsics 2022-05-01 11:02:00 +02:00
Sergio Pedri 4bbe394f55 Skip implicitly declared fields from all generated methods 2022-04-29 12:58:19 +02:00
Sergio Pedri 1ef6040e58 Tweak properties detection to block all field backed ones 2022-04-29 12:58:19 +02:00
Sergio Pedri 459517a181 Enable shaders to inherit shader interfaces 2022-04-29 12:58:19 +02:00
Sergio Pedri 3bf77618e4 Exclude explicit interface implementations in shaders 2022-04-29 12:58:19 +02:00
Sergio Pedri 8a6da6b30a Fix codegen for D2D1 shaders with no fields 2022-04-29 02:05:59 +02:00
Sergio Pedri 5a4b7a8a86 Add ID2D1Shader.GetInputCount() method generation 2022-04-27 23:50:26 +02:00
Sergio Pedri 03c5585c74 Fix remapping of keyword-named fields in this. expressions 2022-04-27 12:47:11 +02:00
Sergio Pedri b9127acb36 Fix source generators when using some non-US locales 2022-04-26 18:56:00 +02:00
Sergio Pedri d51c0f5bf0 Add additional diagnostics for invalid shader discovered types 2022-04-24 21:04:33 +02:00
Sergio Pedri 7318f5bd54 Add diagnostic for invalid method calls from shaders 2022-04-24 21:04:33 +02:00
Sergio Pedri f7612b587e Fix D2D1 generator error when checking for simple inputs 2022-04-24 21:04:33 +02:00
Sergio Pedri e1d823a833 Improve HLSL build error diagnostics for DX12 package 2022-04-24 21:04:33 +02:00
Sergio Pedri 14fa96998f Add support for NaN/infinity constants for float/double 2022-04-24 21:04:33 +02:00
Sergio Pedri e6673bf7c0 Rename HlslKnownMembers to HlslKnownProperties 2022-04-24 21:04:32 +02:00
Sergio Pedri 1de2962ae3 Improve HLSL build errors for D2D1 shaders output message 2022-04-24 21:04:32 +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 993308f6e0 Fix shader attribute diagnostics for input-less shaders 2022-04-24 21:04:31 +02:00
Sergio Pedri d0dfd82f06 Add ID2D1Shader.InitializeFromDispatchData API to support transforms 2022-04-24 21:04:31 +02:00
Sergio Pedri a67237370a Add diagnostics for [D2D] attributes 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