Sergio Pedri
|
b6bcc1c6cc
|
Make 'AllowsUnsafeBlocks' analyzer target attributes
|
2024-06-16 19:32:08 -07:00 |
|
Sergio Pedri
|
a5aff06390
|
Fix all new code style warnings
|
2024-03-05 10:44:30 -08:00 |
|
Sergio Pedri
|
38c885f74e
|
Add ExcedeedPixelShaderDispatchDataSizeAnalyzer
|
2024-01-07 20:55:26 +01:00 |
|
Sergio Pedri
|
b912ab1cc1
|
Add InvalidThreadGroupSizeAttributeUseAnalyzer
|
2024-01-07 20:24:45 +01:00 |
|
Sergio Pedri
|
2a519c3f51
|
Add HlslBytecodeSyntaxProcessor shared helper type
|
2023-12-17 13:31:17 +01:00 |
|
Sergio Pedri
|
2c6eb178d5
|
Add [RequiresDoublePrecisionSupport] diagnostics
|
2023-12-17 12:18:41 +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
|
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
|
7a630204ef
|
Add MultipleComputeShaderInterfacesOnShaderTypeAnalyzer
|
2023-11-29 23:15:26 +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
|
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
|
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
|
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
|
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
|
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
|
862ea5a51b
|
Rename ComputeSharp.Dynamic to ComputeSharp.Dxc
|
2023-10-17 03:10:38 +02:00 |
|
Sergio Pedri
|
fb6b94c632
|
Simplify code in diagnostic tests and diagnostic values
|
2023-10-16 14:03:02 +02:00 |
|
Sergio Pedri
|
ba20d0db76
|
Fix MissingComputeShaderDescriptorOnComputeShaderAnalyzer
|
2023-10-16 11:15:48 +02:00 |
|
Sergio Pedri
|
0f0ecab6fc
|
Fix InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer
|
2023-10-16 11:11:07 +02:00 |
|
Sergio Pedri
|
876e261f6b
|
Add InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer
|
2023-10-15 23:05:35 +02:00 |
|
Sergio Pedri
|
6baf3339fe
|
Add MissingComputeShaderDescriptorOnComputeShaderAnalyzer
|
2023-10-15 23:00:14 +02:00 |
|
Sergio Pedri
|
3db275a157
|
Remove IShader.GetDispatchId() infrastructure
|
2023-10-13 10:58:57 +02:00 |
|
Sergio Pedri
|
6fc3c0d971
|
Port MissingAllowUnsafeBlocksCompilationOptionAnalyzer to ComputeSharp
|
2023-10-10 23:27:33 +02:00 |
|
Sergio Pedri
|
8be9203a1c
|
Remove unnecessary parentheses
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
e94636b80c
|
Run dotnet format whitespace
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
c908cc57e5
|
Add InvalidComputeContextCopyAnalyzer
|
2022-09-24 11:21:40 -07:00 |
|
Sergio Pedri
|
9d8aa1d57b
|
Fix message for CMPS0044 error
|
2022-09-18 14:39:00 +02:00 |
|
Sergio Pedri
|
1e3611a060
|
Prevent bool fields in custom struct types in shaders
These are not allowed due to alignment reasons
|
2022-08-27 16:50:22 +02:00 |
|
Sergio Pedri
|
71f148fc1a
|
Move HlslSourceRewriter.Diagnostics to shared file
|
2022-08-09 12:38:27 +02:00 |
|
Sergio Pedri
|
1ef6040e58
|
Tweak properties detection to block all field backed ones
|
2022-04-29 12:58:19 +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
|
4cc849f245
|
Move DiagnosticsExtensions to shared generation project
|
2022-04-24 21:04:27 +02:00 |
|
Sergio Pedri
|
2212b8716d
|
Port base APIs for D2D1 generator
|
2022-04-24 21:03:46 +02:00 |
|