コミットグラフ
2228 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri fc3be6ebb8 Merge pull request #281 from Sergio0694/dev/feature-d2dcompileoptions-attribute
Add [D2D1CompileOptions] attribute to control bytecode generation
2022-05-22 16:44:03 -07:00
Sergio Pedri 59b4b13062 Add missing global:: prefix in generated LoadBytecode method 2022-05-23 00:40:42 +02:00
Sergio Pedri e22d076dd3 Add D2D1PixelShader.LoadBytecode<T>(D2D1CompileOptions options) 2022-05-23 00:16:08 +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 a3a0425419 Add D2DCompileOptionsAttribute type 2022-05-22 01:17:35 +02:00
Sergio Pedri dd5e1b6262 Rename and move D2D1ShaderCompilerOptions enum 2022-05-22 01:10:59 +02:00
Sergio Pedri 7eea2f613f Merge pull request #280 from Sergio0694/dev/public-d2d1-compile-apis
Add public D2D1 shader compiler APIs
2022-05-21 05:14:25 -07:00
Sergio Pedri fe49c2870a Tweak parameter names in D2D1ShaderCompiler APIs 2022-05-21 13:03:03 +02:00
Sergio Pedri a09b13b10e Add unit tests for D2D1ShaderCompiler 2022-05-21 01:42:00 +02:00
Sergio Pedri e7bdf19bf2 Add public D2D1ShaderCompiler API 2022-05-21 01:40:31 +02:00
Sergio Pedri ffcfcb3471 Ensure function exports for shaders don't specify a target 2022-05-21 00:24:38 +02:00
Sergio Pedri e5c24bc9d7 Code refactoring in internal D3DCompiler APIs 2022-05-20 21:47:07 +02:00
Sergio Pedri 294709575f Merge pull request #273 from Sergio0694/dev/nuget-build-setup
Add NuGet build CI logic
2022-05-12 01:07:09 +02:00
Sergio Pedri e386d29640 Fix <PackageVersion> not being set for release branches 2022-05-12 00:03:49 +02:00
Sergio Pedri 0d936b2cd8 Enable binary logging for debug builds in CI 2022-05-11 23:33:13 +02:00
Sergio Pedri a349455a0d Configure MSBuild scripts for official NuGet builds 2022-05-11 22:28:10 +02:00
Sergio Pedri c015471096 Merge pull request #269 from Sergio0694/feature/d2d1-pixel-options
Add D2D1PixelOption support
2022-05-08 23:01:38 +02:00
Sergio Pedri ec1798cbe3 Rename and tweak D2D1PixelOptions type 2022-05-08 21:50:17 +02:00
Sergio Pedri a70ae6af38 Enable pixel options info in D2D1PixelShaderEffect 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 ba8150452c Merge pull request #267 from Sergio0694/feature/d2d1-input-descriptions
Add support for D2D1 input descriptions
2022-05-08 19:08:53 +02:00
Sergio Pedri 7e31359785 Add user friendly remarks to D2D1Filter 2022-05-08 18:44:44 +02:00
Sergio Pedri 69448a8d34 Enable input descriptions info in D2D1PixelShaderEffect 2022-05-08 18:40:26 +02:00
Sergio Pedri ecae463892 Add unit tests for input description APIs 2022-05-08 18:40:26 +02:00
Sergio Pedri 7a5386a55e Add D2D1PixelShader.GetInputDescriptions API 2022-05-08 18:40:26 +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 df9454caf2 Merge pull request #266 from Sergio0694/feature/d2d-output-buffer-attribute
Add [D2DOutputBuffer] attribute and infrastructure
2022-05-08 00:17:11 +02:00
Sergio Pedri e81a39d27a Set D2D1 enum values to be the same as D2D1 ones
Also some minor tweaks to the enums
2022-05-07 23:47:24 +02:00
Sergio Pedri 966f5ee06d Enable output buffer configuration in D2D1PixelShaderEffect 2022-05-07 22:34:27 +02:00
Sergio Pedri e292eb6d9d Add unit tests for new buffer output APIs 2022-05-07 21:24:13 +02:00
Sergio Pedri 80fea25b5a Enable generation for ID2D1Shader.GetOutputBuffer 2022-05-07 21:24:12 +02:00
Sergio Pedri c554f56bfa Add ID2D1Shader and D2D1PixelShader output buffer APIs 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 a9640501cd Merge pull request #265 from Sergio0694/feature/update-default-mapper
Update default draw transform mapper logic
2022-05-07 21:23:54 +02:00
Sergio Pedri f2be773ab6 Fix logic for MapInputRectsToOutputRect with simple inputs 2022-05-07 20:58:54 +02:00
Sergio Pedri 0ad252470e Update default draw transform mapper logic 2022-05-07 20:45:30 +02:00
Sergio Pedri 4bb96e1fcd Change D2D1PixelShader input APIs to use int values 2022-05-07 03:35:55 +02:00
Sergio Pedri 295cdb1c8d Rename D2D1InteropServices to D2D1PixelShader 2022-05-07 03:19:46 +02:00
Sergio Pedri 9687a74b90 Merge pull request #264 from Sergio0694/feature/d2d1-get-pixel-input-type
Add D2D1InteropServices.GetInputType API
2022-05-07 03:17:19 +02:00
Sergio Pedri 40eb38e853 Add unit tests for ID2D1Shader.GetInputType 2022-05-07 02:46:06 +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 12e2e4cf3f Add D2D1PixelShaderInputType enum and GetInputType API 2022-05-06 02:50:05 +02:00