Sergio Pedri
|
0d667a5da0
|
Use type aliases in DX12/D2D generators to write HLSL
|
2023-12-12 23:22:37 +01:00 |
|
Sergio Pedri
|
2544c039d6
|
Switch HLSL writing to IndentedTextWriter
|
2023-12-10 21:57:26 +01:00 |
|
Sergio Pedri
|
2b1b864c8d
|
Add dedicated diagnostic for Math/MathF calls
|
2023-12-09 18:38:20 +01:00 |
|
Sergio Pedri
|
3b92f3d595
|
Remove VectorN/Math/MatF HLSL projections
|
2023-12-09 16:30:30 +01:00 |
|
Sergio Pedri
|
0e82ce93e3
|
Optimize lookups for HLSL known types
|
2023-12-08 13:20:47 +01:00 |
|
Sergio Pedri
|
058db06971
|
Use collection expressions in more places
|
2023-12-08 12:54:21 +01:00 |
|
Sergio Pedri
|
7726ba445e
|
Enable StripReflectionData flag in D2D generator
|
2023-12-07 12:01:19 +01:00 |
|
Sergio Pedri
|
b832874e55
|
Track [D2DRequiresScenePosition] from external static fields
|
2023-12-06 21:12:42 +01:00 |
|
Sergio Pedri
|
1372d14a90
|
Enable tracking external static fields
|
2023-12-06 21:12:42 +01:00 |
|
Sergio Pedri
|
eefd0de9f0
|
Add mapping of static fields to HLSL rewriters
|
2023-12-06 21:12:42 +01:00 |
|
Sergio Pedri
|
4f60d70411
|
Use shared static field rewriter in DX12/D2D generators
|
2023-12-06 21:12:42 +01:00 |
|
Sergio Pedri
|
c0e78bb1a2
|
Add HlslDefinitionsSyntaxProcessor.TryGetStaticField
|
2023-12-06 21:12:42 +01:00 |
|
Sergio Pedri
|
b49e3365a4
|
Add diagnostic for invalid 'this' expressions
|
2023-12-06 20:22:19 +01:00 |
|
Sergio Pedri
|
c0f83657b3
|
Check for cancellation during HLSL rewriting
|
2023-12-03 14:11:21 +01:00 |
|
Sergio Pedri
|
7e7b57cd67
|
Add a diagnostic for constructors with base constructors
|
2023-12-02 23:25:23 +01:00 |
|
Sergio Pedri
|
7a1aed7890
|
Plug constructors support into D2D generator too
|
2023-12-02 19:46:55 +01:00 |
|
Sergio Pedri
|
c9272392d1
|
Pass cancellation token to SyntaxReferece.GetSyntax()
|
2023-11-30 20:42:06 +01:00 |
|
Sergio Pedri
|
c5a79fd1e1
|
Port cancellation token checks to D2D1 generator
|
2023-11-30 00:17:59 +01:00 |
|
Sergio Pedri
|
6e46f14ab3
|
Port handling of partials to D2D1 generator too
|
2023-11-29 22:24:48 +01:00 |
|
Sergio Pedri
|
3810262548
|
Fix incorrect diagnostic messages in D2D generator
|
2023-11-29 00:26:02 +01:00 |
|
Sergio Pedri
|
b266308c8b
|
Emit a diagnostic for collection expressions
|
2023-11-29 00:23:37 +01:00 |
|
Sergio Pedri
|
1826122849
|
Handle and emit diagnostic for initializer expressions
|
2023-11-29 00:19:05 +01:00 |
|
Sergio Pedri
|
bf7c470cb3
|
Skip generating for generic shader types, and warn
|
2023-11-26 16:35:20 +01:00 |
|
Sergio Pedri
|
28a458630e
|
Fix interface detection in descriptor interface analyzers
|
2023-11-25 21:20:22 +01:00 |
|
Sergio Pedri
|
b49bb27f8e
|
Move shared code to HlslDefinitionsSyntaxProcessor
|
2023-11-24 15:16:10 +01:00 |
|
Sergio Pedri
|
b44504e1e7
|
Move AlignmentHelper type to Graphics folder
|
2023-11-24 13:34:48 +01:00 |
|
Sergio Pedri
|
c18f833c67
|
Minor refactoring to D2D compiler files
|
2023-11-24 13:26:02 +01:00 |
|
Sergio Pedri
|
43b79bdf4b
|
Skip warnings for shader types with no fields
|
2023-11-24 00:32:27 +01:00 |
|
Sergio Pedri
|
a66061453b
|
Add derived analyzers for not readonly shader types
|
2023-11-24 00:32:27 +01:00 |
|
Sergio Pedri
|
3fb3891d93
|
Update NuGet packages to latest stable
|
2023-11-22 22:12:33 +01:00 |
|
Sergio Pedri
|
ade3a1e453
|
Update D2D1 diagnostic descriptors for consistency
|
2023-11-21 19:31:47 +01:00 |
|
Sergio Pedri
|
d1dd7ad618
|
Remove unnecessary suppressions, document other ones
|
2023-11-21 16:24:43 +01:00 |
|
Sergio Pedri
|
bd00d6b8a4
|
Remove unnecessary CS0649 suppressions
|
2023-11-21 16:24:43 +01:00 |
|
Sergio Pedri
|
e09007e910
|
Add InvalidD2D1CompileOptionsEnableLinkingOnShaderTypeAnalyzer
|
2023-11-21 14:37:14 +01:00 |
|
Sergio Pedri
|
a736c3009d
|
Improve and optimize IsSimpleInputShader helper
|
2023-11-21 14:37:14 +01:00 |
|
Sergio Pedri
|
74ccc5e09f
|
Use collection expressions in D2D shader source generator
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
48f3b847a7
|
Adopt collection expression syntax in generated code
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
d79fdeab71
|
Enable RVA fields again for generated input types
|
2023-11-20 23:28:50 +01:00 |
|
Sergio Pedri
|
c9a5882f43
|
Use collection expressions for empty arrays and spans
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
6d560f08e2
|
Use collection expressions for array initializations
|
2023-11-20 23:06:22 +01:00 |
|
Sergio Pedri
|
9815b8532c
|
Generate GraphicsResourcesLoader type to load resources
|
2023-11-20 22:07:17 +01:00 |
|
Sergio Pedri
|
940cdfdcdc
|
Fix handling empty shaders with just artificial fields
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
6f843e3e85
|
Remove unnecessary partial file
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
3c7d5db340
|
Switch D3D12 generator to shared constant buffer logic
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
5df310f87b
|
Only generate two way marshalling if requested
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
4c5bd8a9da
|
Move constant buffer info gathering logic too
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
545f4b6ca4
|
Move constant buffer syntax to shared project
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
4ee81cabce
|
Add and integrate IConstantBufferInfo interface
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
01282b40c3
|
Improve XML docs for generated constant buffer fields
|
2023-11-20 20:51:41 +01:00 |
|
Sergio Pedri
|
819908db16
|
Fix primary constructor fields in generated D2D1 source
|
2023-11-20 20:51:41 +01:00 |
|