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
|
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
|
ade3a1e453
|
Update D2D1 diagnostic descriptors for consistency
|
2023-11-21 19:31:47 +01:00 |
|
Sergio Pedri
|
e09007e910
|
Add InvalidD2D1CompileOptionsEnableLinkingOnShaderTypeAnalyzer
|
2023-11-21 14:37:14 +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
|
fb6b94c632
|
Simplify code in diagnostic tests and diagnostic values
|
2023-10-16 14:03:02 +02:00 |
|
Sergio Pedri
|
afb467f1ff
|
Add InvalidD2DGeneratedPixelShaderDescriptorAttributeTargetAnalyzer
|
2023-10-02 03:22:02 +02:00 |
|
Sergio Pedri
|
ec77fb7e6f
|
Rename D2D1 generator file names and generated name
|
2023-10-02 03:22:02 +02:00 |
|
Sergio Pedri
|
821bc6ba0d
|
Add MissingPixelShaderDescriptorOnPixelShaderAnalyzer
|
2023-10-01 15:40:18 +02:00 |
|
Sergio Pedri
|
3e88c1ca1d
|
Add MissingAllowUnsafeBlocksCompilationOptionAnalyzer
|
2023-09-27 18:39:29 +02:00 |
|
Sergio Pedri
|
e5daf558ec
|
Enable assembly defaults, update analyzer
|
2023-09-27 15:03:06 +02:00 |
|
Sergio Pedri
|
2f0d5695b3
|
Unify metadata info and syntax code in generator
|
2023-09-27 15:03:06 +02:00 |
|
Sergio Pedri
|
9d5e412f7d
|
Add InvalidEffectDisplayNameValueAnalyzer
|
2023-09-27 14:04:04 +02:00 |
|
Sergio Pedri
|
8cbb3c958e
|
Add InvalidEffectIdValueAnalyzer
|
2023-09-27 14:04:04 +02:00 |
|
Sergio Pedri
|
aad8dd8d95
|
Remove some null suppressions, add [NotNullWhen]
|
2023-06-14 23:19:13 +02:00 |
|
Sergio Pedri
|
75cb16384c
|
Set EnforceExtendedAnalyzerRules in analyzers
|
2023-06-06 21:18:33 +02:00 |
|
Sergio Pedri
|
b24e6b4c0d
|
Minor code refactorings
|
2022-10-29 16:03:31 +02:00 |
|
Sergio Pedri
|
c14dd305ae
|
Remove unnecessary extension
|
2022-10-29 15:57:55 +02:00 |
|
Sergio Pedri
|
e94636b80c
|
Run dotnet format whitespace
|
2022-10-15 09:10:18 -07:00 |
|
Sergio Pedri
|
3fb94daaa2
|
Add diagnostic for missing [D2DInputCount] attribute
|
2022-10-07 16:12:31 -07:00 |
|
Sergio Pedri
|
ff04ee384c
|
Minor code tweaks
|
2022-09-18 14:38:10 +02:00 |
|
Sergio Pedri
|
9eac3c779d
|
Refactor diagnostic models to be properly equatable
|
2022-09-17 17:58:44 +02:00 |
|
Sergio Pedri
|
d62c459633
|
Remove symbols from ID2D1ShaderGenerator pipeline
|
2022-09-17 16:43:13 +02:00 |
|
Sergio Pedri
|
f27e98f2fa
|
Add new InvalidD2DResourceTextureIndexUseAnalyzer analyzer
|
2022-09-17 13:11:14 +02:00 |
|
Sergio Pedri
|
5204402c49
|
Add new InvalidAssemblyLevelCompileOptionsAnalyzer analyzer
|
2022-09-17 13:07:21 +02:00 |
|
Sergio Pedri
|
65ee05bf10
|
Move D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor
|
2022-09-17 12:59:16 +02:00 |
|
Sergio Pedri
|
44bf98cfa0
|
Add D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor
|
2022-09-03 23:34:52 +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
|
140aa10a12
|
Add diagnostic for invalid return type
|
2022-08-18 14:26:09 +02:00 |
|
Sergio Pedri
|
c998002f90
|
Add diagnostics for [D2DPixelShaderSource]
|
2022-08-18 14:26:09 +02:00 |
|
Sergio Pedri
|
3515c4402b
|
Add diagnostic for invalid D2D1 resource texture element type
|
2022-08-10 22:15:18 +02:00 |
|
Sergio Pedri
|
71f148fc1a
|
Move HlslSourceRewriter.Diagnostics to shared file
|
2022-08-09 12:38:27 +02:00 |
|
Sergio Pedri
|
53411903c1
|
Fix incorrect [D2DRequiresScenePosition] name in diagnostic
|
2022-08-09 00:22:05 +02:00 |
|
Sergio Pedri
|
21328f54a5
|
Add diagnostic for missing [D2DResourceTextureIndex] attribute
|
2022-08-08 15:45:45 +02:00 |
|
Sergio Pedri
|
a3635b09d9
|
Add diagnostics for invalid [D2DResourceTextureIndex] uses
|
2022-08-08 15:45:45 +02:00 |
|
Sergio Pedri
|
fdc69ed292
|
Add diagnostics for invalid resource texture setups
|
2022-08-08 15:45:44 +02:00 |
|
Sergio Pedri
|
b51b002a3a
|
Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
|
2022-08-08 01:33:38 +02:00 |
|
Sergio Pedri
|
55ad39b817
|
Tweak diagnostics, add SampleInputAtPosition checks too
|
2022-08-07 18:04:24 +02:00 |
|
Sergio Pedri
|
5777e17e03
|
Add diagnostic for missing [D2DRequiresScenePosition]
|
2022-08-07 17:59:33 +02:00 |
|
Sergio Pedri
|
7411c1fe0d
|
Add diagnostics for [D2DCompileOptions] at assembly level
|
2022-05-24 22:10:15 +02:00 |
|
Sergio Pedri
|
d75993107a
|
Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
|
2022-05-22 15:50:28 +02:00 |
|
Sergio Pedri
|
b4b8b76d2f
|
Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode]
|
2022-05-22 01:50:14 +02:00 |
|
Sergio Pedri
|
0bfe836a4e
|
Capture D2D1CompileOptions in source generator
|
2022-05-22 01:40:09 +02:00 |
|