Sergio Pedri
|
54d7cb53e2
|
Add D2D1 input description types
|
2022-05-08 18:40:25 +02:00 |
|
Sergio Pedri
|
e81a39d27a
|
Set D2D1 enum values to be the same as D2D1 ones
Also some minor tweaks to the enums
|
2022-05-07 23:47:24 +02:00 |
|
Sergio Pedri
|
966f5ee06d
|
Enable output buffer configuration in D2D1PixelShaderEffect
|
2022-05-07 22:34:27 +02:00 |
|
Sergio Pedri
|
80fea25b5a
|
Enable generation for ID2D1Shader.GetOutputBuffer
|
2022-05-07 21:24:12 +02:00 |
|
Sergio Pedri
|
c554f56bfa
|
Add ID2D1Shader and D2D1PixelShader output buffer APIs
|
2022-05-07 21:24:12 +02:00 |
|
Sergio Pedri
|
f8b05d070c
|
Add D2DOutputBuffer attribute and types
|
2022-05-07 21:24:12 +02:00 |
|
Sergio Pedri
|
f2be773ab6
|
Fix logic for MapInputRectsToOutputRect with simple inputs
|
2022-05-07 20:58:54 +02:00 |
|
Sergio Pedri
|
0ad252470e
|
Update default draw transform mapper logic
|
2022-05-07 20:45:30 +02:00 |
|
Sergio Pedri
|
4bb96e1fcd
|
Change D2D1PixelShader input APIs to use int values
|
2022-05-07 03:35:55 +02:00 |
|
Sergio Pedri
|
295cdb1c8d
|
Rename D2D1InteropServices to D2D1PixelShader
|
2022-05-07 03:19:46 +02:00 |
|
Sergio Pedri
|
245c308ad1
|
Make ID2D1Shader.GetInputType branchless
|
2022-05-06 23:50:27 +02:00 |
|
Sergio Pedri
|
e7c4288adf
|
Add D2D1InteropServices.GetPixelShaderInputType API
|
2022-05-06 19:34:31 +02:00 |
|
Sergio Pedri
|
6455678056
|
Implement generation for ID2D1Shader.GetInputType(uint) API
|
2022-05-06 03:16:08 +02:00 |
|
Sergio Pedri
|
12e2e4cf3f
|
Add D2D1PixelShaderInputType enum and GetInputType API
|
2022-05-06 02:50:05 +02:00 |
|
Sergio Pedri
|
ee16303aeb
|
Fix constants tracking when rewriting shader fields
|
2022-05-04 23:28:08 +02:00 |
|
Sergio Pedri
|
29073e6f28
|
Enable MS Docs links in <remarks> for all HLSL intrinsics
|
2022-05-02 01:38:36 +02:00 |
|
Sergio Pedri
|
ebd4434df5
|
Add MS Docs URLs to HLSL intrinsic T4 templates
|
2022-05-02 01:37:55 +02:00 |
|
Sergio Pedri
|
092a1eb814
|
Add unit test for void intrinsics
|
2022-05-01 11:02:00 +02:00 |
|
Sergio Pedri
|
4b99f84050
|
Move more void intrinsics to T4 template
|
2022-05-01 10:36:31 +02:00 |
|
Sergio Pedri
|
6362bf4df7
|
Move Abort() intrinsic to T4 template
|
2022-05-01 10:23:11 +02:00 |
|
Sergio Pedri
|
4bbe394f55
|
Skip implicitly declared fields from all generated methods
|
2022-04-29 12:58:19 +02:00 |
|
Sergio Pedri
|
1ef6040e58
|
Tweak properties detection to block all field backed ones
|
2022-04-29 12:58:19 +02:00 |
|
Sergio Pedri
|
7d14403632
|
Update [AutoConstructor] attribute to ignore generated fields
|
2022-04-29 12:58:19 +02:00 |
|
Sergio Pedri
|
459517a181
|
Enable shaders to inherit shader interfaces
|
2022-04-29 12:58:19 +02:00 |
|
Sergio Pedri
|
3bf77618e4
|
Exclude explicit interface implementations in shaders
|
2022-04-29 12:58:19 +02:00 |
|
Sergio Pedri
|
bd64c50ce2
|
Fix ID2D1Effect.LoadConstantBuffer crash with empty buffers
|
2022-04-29 02:10:11 +02:00 |
|
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 |
|