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
|
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
|
50d6f211d3
|
Remove unnecessary symbol in [GroupShared] analyzer
|
2023-12-06 03:04:28 +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
|
b685f09d06
|
Enable constructors support in DX12 shaders
|
2023-12-02 19:13:26 +01:00 |
|
Sergio Pedri
|
c9272392d1
|
Pass cancellation token to SyntaxReferece.GetSyntax()
|
2023-11-30 20:42:06 +01:00 |
|
Sergio Pedri
|
8536bcb16a
|
Remove IComputeShader file links from DX12 generator
|
2023-11-30 00:19:20 +01:00 |
|
Sergio Pedri
|
1c0281ae45
|
Check cancellation token when rewriting DX12 HLSL
|
2023-11-30 00:17:45 +01:00 |
|
Sergio Pedri
|
86bc68e4dd
|
Move MultipleShaderTypesImplemented to analyzer
|
2023-11-29 23:17:33 +01:00 |
|
Sergio Pedri
|
7a630204ef
|
Add MultipleComputeShaderInterfacesOnShaderTypeAnalyzer
|
2023-11-29 23:15:26 +01:00 |
|
Sergio Pedri
|
7331b30bc5
|
Handle partials by gathering symbols for fields, methods
|
2023-11-29 22:19:23 +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
|
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 |
|