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 |
|
Sergio Pedri
|
041a5c0288
|
Support primary field constructors in buffer marshaller
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
ba9f421c97
|
Simplify and optimize ConstantBuffer.GetInfo method
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
785606dcf4
|
Generate unsafe accessors for fields as extension methods
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
accb602f1f
|
Strip readonly-ness via the generated unsafe accessors
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
531262e6f2
|
Always generate unsafe accessors for all fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
2961612f47
|
Correctly generate accessors for nested/unaccessible fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
99a0c2b8b6
|
Skip duplicate field accessors for same fields
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
bec001e3b0
|
Simplify constant buffer files in D2D1 generator
|
2023-11-20 20:51:40 +01:00 |
|
Sergio Pedri
|
2fc520c965
|
Emit ConstantBufferMarshaller type in D2D1 generator
|
2023-11-20 20:51:39 +01:00 |
|
Sergio Pedri
|
dc713aedb9
|
Use target-typed new() for diagnostic descriptors
|
2023-10-21 18:03:07 +02:00 |
|
Sergio Pedri
|
ff571c44aa
|
Fix duplicate diagnostic titles
|
2023-10-21 18:01:37 +02:00 |
|
Sergio Pedri
|
2a43123b81
|
Apply some code tweaks to make analysis happy
|
2023-10-19 23:43:22 +02:00 |
|
Sergio Pedri
|
76f27250f4
|
Skip shader fields of not accessible types
|
2023-10-19 14:04:43 +02:00 |
|
Sergio Pedri
|
5b971b1b3d
|
Add NotAccessibleFieldTypeInGeneratedShaderDescriptorAttributeTargetAnalyzerBase
|
2023-10-19 13:59:06 +02:00 |
|
Sergio Pedri
|
e85c8f870a
|
Add NotAccessibleGeneratedShaderDescriptorAttributeTargetAnalyzerBase
|
2023-10-19 11:55:40 +02:00 |
|