コミットグラフ
336 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri d605b345df Move code to new ComputeSharp.D2D1Interop project 2022-04-24 21:03:13 +02:00
Sergio Pedri beeb6882b4 Rename CompileShader to Compile 2022-04-24 21:03:12 +02:00
Sergio Pedri 6559ad31d0 Update remaining NuGet packages 2022-01-29 18:37:33 +01:00
Sergio Pedri e6aad7e0ed Switch to CommunityToolkit.HighPerformance 8.0.0 Preview 1 2022-01-29 18:37:33 +01:00
Sergio Pedri 0b1b3e3391 Switch to CommunityToolkit.Diagnostics 8.0.0 Preview 1 2022-01-29 18:37:33 +01:00
Sergio Pedri 2c3c428fc9 Add missing trailing dots to exception messages 2022-01-29 12:35:45 +01:00
Sergio Pedri 83ebd52c01 Add unit tests for sampling from non normalized wrappers 2022-01-22 16:53:33 +01:00
Sergio Pedri 9b05770168 Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel> 2022-01-22 15:01:06 +01:00
Sergio Pedri b1fb409f73 Fix base type of custom NotSupportedException types 2022-01-18 11:44:07 +01:00
Sergio Pedri 89da6ebe30 Fix missing double support check in Buffer<T> resources 2022-01-18 11:36:03 +01:00
Sergio Pedri 8269fea118 Add unit tests for combined readonly transitions and writes 2022-01-17 21:53:07 +01:00
Sergio Pedri 1b5a96aaf5 Add unit test for 3D readonly wrapper sampling 2022-01-17 19:52:43 +01:00
Sergio Pedri 40d3cd0182 Add unit tests for ComputeContext.Transition API
Also test ReadWriteTexture[2D|3D]<T, TPixel>.AsReadOnly()
2022-01-17 19:52:43 +01:00
Sergio Pedri 8241e56b55 Fix HLSL generation for early returns in pixel shaders 2022-01-15 17:42:47 +01:00
Sergio Pedri 34450b270f Add unit tests for ComputeContext.Fill APIs 2022-01-08 19:56:45 +01:00
Sergio Pedri c72b0c7fd2 Remove System.Numerics types from pixel format conversions 2022-01-08 19:56:44 +01:00
Sergio Pedri a0eb6427eb Fix unit tests 2022-01-08 19:56:44 +01:00
Sergio Pedri 9151abd061 Add diagnostics tests for [EmbeddedBytecode(DispatchAxis)] 2022-01-05 13:37:26 +01:00
Sergio Pedri 636c14360e Skip parallel tests with no device early 2021-12-31 15:32:14 +01:00