コミットグラフ
1574 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 8a6da6b30a Fix codegen for D2D1 shaders with no fields 2022-04-29 02:05:59 +02:00
Sergio Pedri ad22c55463 Rename D2D1InteropServices APIs for consistency 2022-04-28 00:56:09 +02:00
Sergio Pedri d220c2eeb1 Remove Type.GetCustomAttributes use from PixelShaderEffect 2022-04-28 00:03:31 +02:00
Sergio Pedri b156b3c98a Add D2D1InteropServices.GetPixelShaderInputCount() API 2022-04-27 23:59:25 +02:00
Sergio Pedri 5a4b7a8a86 Add ID2D1Shader.GetInputCount() method generation 2022-04-27 23:50:26 +02:00
Sergio Pedri 2034866db8 Remove shader from secondary ID2D1DrawTransformMapper APIs 2022-04-27 23:39:08 +02:00
Sergio Pedri 9a4af4521f Replace NotImplementedException with NotSupportedException 2022-04-27 23:20:00 +02:00
Sergio Pedri aa886c55ba Remove default interface methods from shader interfaces 2022-04-27 23:19:45 +02:00
Sergio Pedri 118e7435c1 Remove UB from Unsafe.NullRef<T>() calls 2022-04-27 22:01:16 +02:00
Sergio Pedri 03c5585c74 Fix remapping of keyword-named fields in this. expressions 2022-04-27 12:47:11 +02:00
Sergio Pedri fe6f6abc69 Merge pull request #239 from Sergio0694/bugfix/generator-localization
Fix source generators when using some non-US locales
2022-04-26 22:51:10 +02:00
Sergio Pedri b9127acb36 Fix source generators when using some non-US locales 2022-04-26 18:56:00 +02:00
Sergio Pedri 2dda2cf1ff Add <see langword=""/> support to T4 templates, minor code tweaks 2022-04-26 18:55:50 +02:00
Sergio Pedri be0ca6ed15 Add f32tof16 and f16tof32 intrinsics 2022-04-26 18:55:50 +02:00
Sergio Pedri 34afa9a37d Add new HLSL >, >=, <, <=, ==, !=, % operators 2022-04-24 22:55:51 +02:00
Sergio Pedri 538da10920 Add D2D1 docs, rename GetPixelShaderConstantBuffer API 2022-04-24 22:04:08 +02:00
Sergio Pedri 72dde98fce Fix FusedMultiplyAdd intrinsic name 2022-04-24 21:04:33 +02:00
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