Sergio Pedri
|
f1d88decdb
|
Add more HLSL intrinsics
|
2022-04-24 21:04:33 +02:00 |
|
Sergio Pedri
|
a4582ee37a
|
Add new T4 template for void-returning intrinsics
|
2022-04-24 21:04:33 +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
|
0c0d97e475
|
Fix issue causing precompiled shaders to be recompiled
|
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
|
b27c89acc0
|
Add HLSL primitive type names to known keywords
|
2022-04-24 21:04:32 +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
|
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 |
|