コミットグラフ
1557 コミット
作成者 SHA1 メッセージ 日付
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 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 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 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 f78d377ebf Improve Rectangle/RECT marshalling, add utility extensions 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 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 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