コミットグラフ
2110 コミット
作成者 SHA1 メッセージ 日付
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 8382de37fe Build D2D1 shaders with -Zpr (pack matrix row major) 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 7651ad0ef3 Minor code tweaks 2022-04-24 21:04:32 +02:00
Sergio Pedri f2b49cd6b8 Add D2D1EffectRegistrationData.V1.Load API 2022-04-24 21:04:32 +02:00
Sergio Pedri 57bebc1aef Add ComputeSharp.D2D1 package to readme 2022-04-24 21:04:32 +02:00
Sergio Pedri e6507f23b6 Add registration blob version id 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 4aeb97113a Use infinite RECT for default mapping with 0 inputs 2022-04-24 21:04:32 +02:00
Sergio Pedri 58cba3f6d1 Minor code refactoring 2022-04-24 21:04:32 +02:00
Sergio Pedri 056128054a Remove [FixedAddressValueType] use 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 06bf8a589b Minor code tweaks to D2D1 blob types 2022-04-24 21:04:31 +02:00
Sergio Pedri a419d98678 Move PropertyBinding out from being nested, add D2D1 prefix 2022-04-24 21:04:31 +02:00
Sergio Pedri a914c30cfb Add D2D1EffectRegistrationData type 2022-04-24 21:04:31 +02:00
Sergio Pedri f6282f53ff Add GetPixelShaderEffectRegistrationBlob<T> APIs 2022-04-24 21:04:31 +02:00
Sergio Pedri 993308f6e0 Fix shader attribute diagnostics for input-less shaders 2022-04-24 21:04:31 +02:00
Sergio Pedri 5899a6667a Minor code refactoring, centralize effect id management 2022-04-24 21:04:31 +02:00
Sergio Pedri d509db265a Minor code refactoring 2022-04-24 21:04:31 +02:00
Sergio Pedri f78d377ebf Improve Rectangle/RECT marshalling, add utility extensions 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 8eed74214a Handle custom draw transform factory exceptions 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 a36bae8e5a Add initial ID2D1DrawTransformMapper support and APIs 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 d0d254b054 Re-enable trim analyzer in ComputeSharp.D2D1 project 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
Sergio Pedri d4501323d7 Tweak ID2D1DrawTransformMethods rect APIs 2022-04-24 21:04:30 +02:00
Sergio Pedri ad7d1bd706 Optimize D2D1InteropServices.SetConstantBufferForD2D1Effect 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 a8525592fd Add .NET Standard 2.0 support back 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 edc06630c3 Add D2D1Interop tests to CI script 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 247ced1079 Simplify D2D1Interop namespaces 2022-04-24 21:04:29 +02:00
Sergio Pedri 9609cb6607 Reduce code duplication for type hierarchy generation 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 8de377b1d6 Improve FXC compile error messages 2022-04-24 21:04:28 +02:00