コミットグラフ
355 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri 7f9b20f1d7 Add unit tests for D2D1 assembly-level attributes 2022-05-25 00:09:12 +02:00
Sergio Pedri 89b5933adc Add unit tests to validate embedded bytecode retrieval 2022-05-23 14:32:13 +02:00
Sergio Pedri dd5e1b6262 Rename and move D2D1ShaderCompilerOptions enum 2022-05-22 01:10:59 +02:00
Sergio Pedri a09b13b10e Add unit tests for D2D1ShaderCompiler 2022-05-21 01:42:00 +02:00
Sergio Pedri 6a83c6827d Rename input description LevelOfDetailCount parameter
Closes #270
2022-05-08 21:49:52 +02:00
Sergio Pedri ecae463892 Add unit tests for input description APIs 2022-05-08 18:40:26 +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 e292eb6d9d Add unit tests for new buffer output APIs 2022-05-07 21:24:13 +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 40eb38e853 Add unit tests for ID2D1Shader.GetInputType 2022-05-07 02:46:06 +02:00
Sergio Pedri 018f3fa753 Add unit tests for shader fields with reserved identifiers 2022-05-04 23:34:25 +02:00
Sergio Pedri ee16303aeb Fix constants tracking when rewriting shader fields 2022-05-04 23:28:08 +02:00
Sergio Pedri d92125e874 Minor unit test fixes 2022-05-01 11:03:37 +02:00
Sergio Pedri 092a1eb814 Add unit test for void intrinsics 2022-05-01 11:02:00 +02:00
Sergio Pedri 1ef6040e58 Tweak properties detection to block all field backed ones 2022-04-29 12:58:19 +02:00
Sergio Pedri 7d14403632 Update [AutoConstructor] attribute to ignore generated fields 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 8af20e13b9 Add unit tests for empty D2D1 shader 2022-04-29 02:09:38 +02:00
Sergio Pedri b156b3c98a Add D2D1InteropServices.GetPixelShaderInputCount() API 2022-04-27 23:59:25 +02:00
Sergio Pedri 2034866db8 Remove shader from secondary ID2D1DrawTransformMapper APIs 2022-04-27 23:39:08 +02:00
Sergio Pedri fcb8d028b2 Add unit tests for fields with this. expressions 2022-04-27 12:47:23 +02:00
Sergio Pedri fb1dd1a1cb Add unit tests for custom operators 2022-04-24 23:05:41 +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 14fa96998f Add support for NaN/infinity constants for float/double 2022-04-24 21:04:33 +02:00
Sergio Pedri b27c89acc0 Add HLSL primitive type names to known keywords 2022-04-24 21:04:32 +02:00
Sergio Pedri 7651ad0ef3 Minor code tweaks 2022-04-24 21:04:32 +02:00
Sergio Pedri cab4986cfc Move pixel shader effect APIs to new D2D1PixelShaderEffect type 2022-04-24 21:04:32 +02:00
Sergio Pedri 8558af237f Add ZonePlate test shader (no inputs, default mapping) 2022-04-24 21:04:32 +02:00
Sergio Pedri 7576c506e9 Code refactoring to D2D1 unit tests 2022-04-24 21:04:31 +02:00
Sergio Pedri d509db265a Minor code refactoring 2022-04-24 21:04:31 +02:00
Sergio Pedri ea354eade6 Use a custom mapper for pixelate effect 2022-04-24 21:04:31 +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
Sergio Pedri d21cc4066c Add pixelate effect to unit tests
This also includes a nested [AutoConstructor] buffer
2022-04-24 21:04:30 +02:00
Sergio Pedri 61b51c706b Move PixelShaderEffect and interop APIs to ComputeSharp.D2D1Interop
Also added necessary polyfills
2022-04-24 21:04:29 +02:00
Sergio Pedri 33c87516f8 Extract APIs to register and create pixel shader effects 2022-04-24 21:04:29 +02:00
Sergio Pedri 4adb73fe02 Unify D2D1 effect and transform type implementation 2022-04-24 21:04:29 +02:00
Sergio Pedri c9083edef0 Implement end to end D2D1 pixel shader effect tests 2022-04-24 21:04:29 +02:00
Sergio Pedri e8ce3695f2 Refactor D2D1 test helper code 2022-04-24 21:04:29 +02:00
Sergio Pedri 65a03349de Add generic support for PixelShaderEffect 2022-04-24 21:04:29 +02:00
Sergio Pedri 74b7df089a Add property getter/setter for shader constant buffer 2022-04-24 21:04:29 +02:00
Sergio Pedri 8b48c6f729 Move WIC test helpers to separate file 2022-04-24 21:04:29 +02:00
Sergio Pedri 93708e0527 Add initial end to end D2D1 test setup 2022-04-24 21:04:29 +02:00
Sergio Pedri 1ae201afe5 Add empty D2D1Interop unit test project 2022-04-24 21:04:29 +02:00
Sergio Pedri 910df14429 Fix partial type generation for nested non-class types 2022-04-24 21:04:29 +02:00
Sergio Pedri a1ab03f48c Add support for "this." field accesses 2022-04-24 21:04:28 +02:00
Sergio Pedri b9a5807b55 Minor tweaks, fix Core analyzer references 2022-04-24 21:03:45 +02:00
Sergio Pedri 59cd5a9ce3 Move generators to ComputeSharp.Core.SourceGenerators 2022-04-24 21:03:45 +02:00