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
|
847a3c16d0
|
Extract Core subfolder in ComputeSharp project
|
2023-11-24 13:37:59 +01:00 |
|
Sergio Pedri
|
b44504e1e7
|
Move AlignmentHelper type to Graphics folder
|
2023-11-24 13:34:48 +01:00 |
|
Sergio Pedri
|
a6c4b05e43
|
Add InvalidGroupSharedFieldDeclarationAnalyzer
Also move the diagnostics there from the source generator
|
2023-11-24 11:51:17 +01:00 |
|
Sergio Pedri
|
e1ca46aa4c
|
Add InvalidGloballyCoherentFieldDeclarationAnalyzer
|
2023-11-24 10:30:08 +01:00 |
|
Sergio Pedri
|
c661ef7e80
|
Support [GloballyCoherent] in generator
|
2023-11-24 09:53:05 +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
|
997f4917a9
|
Fix handling primary constructors for DX12 shaders
|
2023-11-23 12:34:08 +01:00 |
|
Sergio Pedri
|
f3f33d3b67
|
Fix XML docs in generated unsafe accessors
|
2023-11-23 00:27:45 +01:00 |
|
Sergio Pedri
|
3fb3891d93
|
Update NuGet packages to latest stable
|
2023-11-22 22:12:33 +01:00 |
|
Sergio Pedri
|
3ec5497471
|
Remove GroupSharedAttribute from generator
|
2023-11-21 18:03:20 +01:00 |
|
Sergio Pedri
|
2d1e7f9565
|
Remove ThreadGroupSizeAttribute from generator
|
2023-11-21 18:03:20 +01:00 |
|
Sergio Pedri
|
be0f0cf593
|
Rename DispatchAxis to DefaultThreadGroupSizes
|
2023-11-21 18:03:19 +01:00 |
|
Sergio Pedri
|
cecc16a52e
|
Rename [EmbeddedBytecode] to [ThreadGroupSize]
|
2023-11-21 18:02:51 +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
|
fb0a1a441a
|
Update generator to apply custom compile options
|
2023-11-21 16:01:09 +01:00 |
|
Sergio Pedri
|
9d6195ac44
|
Fix Span<T> not supporting pointers on NS2.0
|
2023-11-21 15:35:10 +01:00 |
|
Sergio Pedri
|
aceb42af1b
|
Switch to IDxcCompiler3 and IDxcUtils for DX12 shaders
|
2023-11-21 15:34:32 +01:00 |
|
Sergio Pedri
|
48f3b847a7
|
Adopt collection expression syntax in generated code
|
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
|
46a6b25756
|
Use primary constructors in published projects
|
2023-11-20 23:06:21 +01:00 |
|
Sergio Pedri
|
cf8969a77e
|
Fix generated field accessors for resource fields
|
2023-11-20 22:07:18 +01:00 |
|
Sergio Pedri
|
5811ba60cf
|
Restructure resources info logic, drop unnecessary TypeName field
|
2023-11-20 22:07:18 +01:00 |
|
Sergio Pedri
|
1760c8d3ff
|
Split Resources syntax generation code into partial file
|
2023-11-20 22:07:18 +01:00 |
|
Sergio Pedri
|
e254cc19f3
|
Remove unnecessary parameter
|
2023-11-20 22:07:17 +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
|
777f8537f2
|
Fix handling artificial fields in D3D12 constant buffer
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
e4fb230068
|
Remove unnecessary ResourceInfo.Offset property
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
fcf287c4ad
|
Restructure resources info gathering logic
|
2023-11-20 21:11:45 +01:00 |
|
Sergio Pedri
|
3c7d5db340
|
Switch D3D12 generator to shared constant buffer logic
|
2023-11-20 21:11:44 +01:00 |
|
Sergio Pedri
|
0a7dbb3cfb
|
Add logic to optionally generate artificial fields
|
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
|
876d419b0f
|
Fix conditional Write[If] methods for indented writer
|
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
|
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
|
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 |
|
Sergio Pedri
|
d5ddf8bf1e
|
Share MissingAllowUnsafeBlocksCompilationOptionAnalyzer
|
2023-10-19 01:59:45 +02:00 |
|
Sergio Pedri
|
91f78969b1
|
Adopt static abstracts in ComputeSharp (and related projects)
|
2023-10-18 20:50:44 +02:00 |
|