Sergio Pedri
|
ddea0e8514
|
Fix generator with out of range simple inputs
|
2022-06-06 23:21:48 +02:00 |
|
Sergio Pedri
|
a62f8ec774
|
Fix build error in ComputeSharp with C# preview
|
2022-06-05 13:55:49 +02:00 |
|
Sergio Pedri
|
94b40e5d61
|
Handle keywords in field names for custom types
|
2022-06-05 13:37:22 +02:00 |
|
Sergio Pedri
|
f66342d212
|
Minor optimization to float literal rewriting
|
2022-05-29 23:14:25 +02:00 |
|
Sergio Pedri
|
f2c9478631
|
Fix rewriting of integer double literals
|
2022-05-29 17:19:52 +02:00 |
|
 Sergio PedriとAshley
|
772553852c
|
Use pattern matching to check parse options
Co-authored-by: Ashley <[email protected]>
|
2022-05-29 03:25:40 +02:00 |
|
Sergio Pedri
|
f2e4dac552
|
Add extra LF in shaders with no captured values
|
2022-05-29 03:25:40 +02:00 |
|
Sergio Pedri
|
989f346555
|
Add missing LF between include and defined constants
|
2022-05-29 03:25:40 +02:00 |
|
Sergio Pedri
|
502baaca03
|
Use raw multiline string literals for generated HLSL source
This is optionally enabled when C# preview is used
|
2022-05-29 03:25:40 +02:00 |
|
Simona Koníčková
|
1465b5fd9d
|
Use GetText instead of ToFullString
|
2022-05-28 03:14:22 +02:00 |
|
Sergio Pedri
|
f49831567e
|
Use AttributeData for [D2DCompileOptions] assembly diagnostics
|
2022-05-27 18:37:35 +02:00 |
|
Sergio Pedri
|
7411c1fe0d
|
Add diagnostics for [D2DCompileOptions] at assembly level
|
2022-05-24 22:10:15 +02:00 |
|
Sergio Pedri
|
f5ea4b7911
|
Allow D2D1 attributes at assembly level
|
2022-05-24 02:36:39 +02:00 |
|
Sergio Pedri
|
59b4b13062
|
Add missing global:: prefix in generated LoadBytecode method
|
2022-05-23 00:40:42 +02:00 |
|
Sergio Pedri
|
d75993107a
|
Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
|
2022-05-22 15:50:28 +02:00 |
|
Sergio Pedri
|
b4b8b76d2f
|
Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode]
|
2022-05-22 01:50:14 +02:00 |
|
Sergio Pedri
|
0bfe836a4e
|
Capture D2D1CompileOptions in source generator
|
2022-05-22 01:40:09 +02:00 |
|
Sergio Pedri
|
77c43a819e
|
Optimize diagnostics flow in D2D1 source generator
|
2022-05-22 01:39:42 +02:00 |
|
Sergio Pedri
|
a3a0425419
|
Add D2DCompileOptionsAttribute type
|
2022-05-22 01:17:35 +02:00 |
|
Sergio Pedri
|
e5c24bc9d7
|
Code refactoring in internal D3DCompiler APIs
|
2022-05-20 21:47:07 +02:00 |
|
Sergio Pedri
|
ec1798cbe3
|
Rename and tweak D2D1PixelOptions type
|
2022-05-08 21:50:17 +02:00 |
|
Sergio Pedri
|
b211932881
|
Enable generation for ID2D1Shader.GetPixelOptions API
|
2022-05-08 21:50:17 +02:00 |
|
Sergio Pedri
|
6fbdef8ce4
|
Add D2D1 pixel option types and APIs
|
2022-05-08 21:50:17 +02:00 |
|
Sergio Pedri
|
6a83c6827d
|
Rename input description LevelOfDetailCount parameter
Closes #270
|
2022-05-08 21:49:52 +02:00 |
|
Sergio Pedri
|
3b760f02d4
|
Enable generation for ID2D1Shader.LoadInputDescriptions API
|
2022-05-08 18:40:26 +02:00 |
|
Sergio Pedri
|
54d7cb53e2
|
Add D2D1 input description types
|
2022-05-08 18:40:25 +02:00 |
|
Sergio Pedri
|
80fea25b5a
|
Enable generation for ID2D1Shader.GetOutputBuffer
|
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
|
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
|
ee16303aeb
|
Fix constants tracking when rewriting shader fields
|
2022-05-04 23:28:08 +02:00 |
|
Sergio Pedri
|
092a1eb814
|
Add unit test for void intrinsics
|
2022-05-01 11:02:00 +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
|
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
|
8a6da6b30a
|
Fix codegen for D2D1 shaders with no fields
|
2022-04-29 02:05:59 +02:00 |
|
Sergio Pedri
|
5a4b7a8a86
|
Add ID2D1Shader.GetInputCount() method generation
|
2022-04-27 23:50:26 +02:00 |
|
Sergio Pedri
|
03c5585c74
|
Fix remapping of keyword-named fields in this. expressions
|
2022-04-27 12:47:11 +02:00 |
|
Sergio Pedri
|
b9127acb36
|
Fix source generators when using some non-US locales
|
2022-04-26 18:56:00 +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
|
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
|
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
|
a5088788c4
|
Fix diagnostics for HLSL build generator errors
|
2022-04-24 21:04:32 +02:00 |
|