Sergio Pedri
|
38c885f74e
|
Add ExcedeedPixelShaderDispatchDataSizeAnalyzer
|
2024-01-07 20:55:26 +01:00 |
|
Sergio Pedri
|
d1578bb997
|
Remove leftover code in HlslBytecode
|
2024-01-07 20:30:11 +01:00 |
|
Sergio Pedri
|
b912ab1cc1
|
Add InvalidThreadGroupSizeAttributeUseAnalyzer
|
2024-01-07 20:24:45 +01:00 |
|
Sergio Pedri
|
942f3aa50b
|
Add fast-path ConstantBufferSyntaxProcessor APIs
|
2024-01-01 19:03:15 +01:00 |
|
Sergio Pedri
|
f8f2e9c1e6
|
Use concrete types for all generator mapping fields
|
2023-12-30 23:12:03 +01:00 |
|
Sergio Pedri
|
fe3a6a1024
|
Skip diagnostic outputs when no diagnostics present
|
2023-12-26 15:57:03 +01:00 |
|
Sergio Pedri
|
50c6a9435f
|
Add tracking steps to DX12/D2D source generators
|
2023-12-26 14:45:31 +01:00 |
|
Sergio Pedri
|
69df02005b
|
Move cast explicit operators to T4
|
2023-12-26 02:56:11 +01:00 |
|
Sergio Pedri
|
0c2b2bca35
|
Move scalar promotion implicit operators to T4
|
2023-12-26 00:04:23 +01:00 |
|
Sergio Pedri
|
5127ede784
|
Remove header from generated HLSL sources
|
2023-12-22 17:36:02 +01:00 |
|
Sergio Pedri
|
a926a1211f
|
Move and rename the HlslSourceHelper type
|
2023-12-21 18:40:13 +01:00 |
|
Sergio Pedri
|
86b39c28f5
|
Refactor HlslBytecodeSyntaxProcessor partial constants
|
2023-12-17 15:09:00 +01:00 |
|
Sergio Pedri
|
9c645170c8
|
Adopt HlslBytecodeSyntaxProcessor in both generators
|
2023-12-17 14:43:38 +01:00 |
|
Sergio Pedri
|
2a519c3f51
|
Add HlslBytecodeSyntaxProcessor shared helper type
|
2023-12-17 13:31:17 +01:00 |
|
Sergio Pedri
|
e27b7e4379
|
Minor tweaks to DiagnosticInfo
|
2023-12-17 12:26:38 +01:00 |
|
Sergio Pedri
|
2c6eb178d5
|
Add [RequiresDoublePrecisionSupport] diagnostics
|
2023-12-17 12:18:41 +01:00 |
|
Sergio Pedri
|
aa127b8f09
|
Move FixupExceptionMessage to DxcShaderCompiler
|
2023-12-17 12:18:41 +01:00 |
|
Sergio Pedri
|
9bad2e99db
|
Add double precision support check to DX12 generator
|
2023-12-17 12:18:41 +01:00 |
|
Sergio Pedri
|
35bc8ce649
|
Minor code tweaks to DX12 generator
|
2023-12-17 12:17:21 +01:00 |
|
Sergio Pedri
|
5d58622ddf
|
Move D2D reflection code to D2D generator only
|
2023-12-17 02:39:45 +01:00 |
|
Sergio Pedri
|
f16dcab8fd
|
Add check for double precision in D2D1 generator
|
2023-12-16 17:34:20 +01:00 |
|
Sergio Pedri
|
8d5d24ea44
|
Adopt HlslSourceHelper type to generate HLSL sources
|
2023-12-13 14:22:25 +01:00 |
|
Sergio Pedri
|
fb3439556c
|
Use forward declarations wherever possible
|
2023-12-13 14:22:25 +01:00 |
|
Sergio Pedri
|
0d667a5da0
|
Use type aliases in DX12/D2D generators to write HLSL
|
2023-12-12 23:22:37 +01:00 |
|
Sergio Pedri
|
1cc03cdd7b
|
Simplify code in DX12 HLSL generation
|
2023-12-12 22:47:35 +01:00 |
|
Sergio Pedri
|
2544c039d6
|
Switch HLSL writing to IndentedTextWriter
|
2023-12-10 21:57:26 +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
|
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 |
|