コミットグラフ
2081 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri a1ab03f48c Add support for "this." field accesses 2022-04-24 21:04:28 +02:00
Sergio Pedri ba0cb5c00f Move HlslKnownKeywords to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri f35c76dcb9 Move HlslKnownTypes to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 88a5e75a99 Move HlslKnownMethods to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri 5a478d68ab Move HlslKnownSizes to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri c8ca41d4c0 Move HlslKnownKeywords to HLSL specific shared project 2022-04-24 21:04:28 +02:00
Sergio Pedri 31cfdd9eca Move HLSL extensions to new shared project 2022-04-24 21:04:28 +02:00
Sergio Pedri 33235d68c8 Move HlslKnownKeywords to shared generation project 2022-04-24 21:04:28 +02:00
Sergio Pedri d6dd5cf7af Fix internal symbol display format options 2022-04-24 21:04:28 +02:00
Sergio Pedri 6b0c1161c8 Streamline equality comparison of generation models 2022-04-24 21:04:27 +02:00
Sergio Pedri 6e247639ed Move common models to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 4cc849f245 Move DiagnosticsExtensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri aaf8392785 Move SemanticModelProvider to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 9a51331910 Move common extensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri ae717681c4 Move domain specific code to HlslKnownTypes 2022-04-24 21:04:10 +02:00
Sergio Pedri 5f58823305 Fix diagnostics in D2D1 generator 2022-04-24 21:04:10 +02:00
Sergio Pedri f17c43065e Remove leftover types from initial port 2022-04-24 21:04:10 +02:00
Sergio Pedri 13aa9db1db Fix selected profile check for ebedded bytecode 2022-04-24 21:04:10 +02:00
Sergio Pedri 4652a5a1cd Fix discovery of bytecode attributes 2022-04-24 21:04:10 +02:00
Sergio Pedri 8d3a7a0771 Enable linking support discovery and generation 2022-04-24 21:04:10 +02:00
Sergio Pedri 601cd3478e Minor code style tweaks 2022-04-24 21:04:10 +02:00
Sergio Pedri c1e795129e Implement dynamic D2D1 compilation generation 2022-04-24 21:04:09 +02:00
Sergio Pedri f95079ea51 Add and implement ID2D1Shader.BuildHlslSource method 2022-04-24 21:04:09 +02:00
Sergio Pedri 6f39eee106 Rename BuildHlslString to BuildHlslSource 2022-04-24 21:04:09 +02:00
Sergio Pedri 573e6ba546 Add custom shader profile parameter to D2D1 compiler 2022-04-24 21:03:46 +02:00
Sergio Pedri ec4dc6f068 Fix dispatch data loader API name 2022-04-24 21:03:46 +02:00
Sergio Pedri 69ffa16e8c Implement D2D1 attribute parsing logic 2022-04-24 21:03:46 +02:00
Sergio Pedri e64f32b528 Initial support for D2D1 shader compilation from generator 2022-04-24 21:03:46 +02:00
Sergio Pedri f9ffb665c6 Add ID3DInclude implementation for d2deffecthelpers.hlsli 2022-04-24 21:03:46 +02:00