Sergio Pedri
|
2266fe8afd
|
Zero-initialize constructor target instance in HLSL
|
2023-12-02 22:20:11 +01:00 |
|
Sergio Pedri
|
7a1aed7890
|
Plug constructors support into D2D generator too
|
2023-12-02 19:46:55 +01:00 |
|
Sergio Pedri
|
1660c8ca1b
|
Optimize HlslDefinitionsSyntaxProcessor.GetDeclaredTypes
|
2023-12-02 19:43:40 +01:00 |
|
Sergio Pedri
|
b685f09d06
|
Enable constructors support in DX12 shaders
|
2023-12-02 19:13:26 +01:00 |
|
Sergio Pedri
|
c827b92ea2
|
Remove two unnecessary NormalizeWhitespace calls
|
2023-11-30 23:14:58 +01:00 |
|
Sergio Pedri
|
dd0c3c4882
|
Seal all overrides in HlslSourceRewriter
|
2023-11-30 23:09:44 +01:00 |
|
Sergio Pedri
|
51fd22246b
|
Use IsTargetFrameworkCompatible instead of StartsWith
|
2023-11-30 21:45:36 +01:00 |
|
Sergio Pedri
|
c9272392d1
|
Pass cancellation token to SyntaxReferece.GetSyntax()
|
2023-11-30 20:42:06 +01:00 |
|
Sergio Pedri
|
c540ffa61d
|
Add ISymbol.TryGetSyntaxNode<T> extension
|
2023-11-30 20:41:52 +01:00 |
|
Sergio Pedri
|
0a82cd194e
|
Rename an int variable to HRESULT
|
2023-11-30 00:49:56 +01:00 |
|
Sergio Pedri
|
8536bcb16a
|
Remove IComputeShader file links from DX12 generator
|
2023-11-30 00:19:20 +01:00 |
|
Sergio Pedri
|
c5a79fd1e1
|
Port cancellation token checks to D2D1 generator
|
2023-11-30 00:17:59 +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
|
6e46f14ab3
|
Port handling of partials to D2D1 generator too
|
2023-11-29 22:24:48 +01:00 |
|
Sergio Pedri
|
7331b30bc5
|
Handle partials by gathering symbols for fields, methods
|
2023-11-29 22:19:23 +01:00 |
|
Sergio Pedri
|
3810262548
|
Fix incorrect diagnostic messages in D2D generator
|
2023-11-29 00:26:02 +01:00 |
|
Sergio Pedri
|
b266308c8b
|
Emit a diagnostic for collection expressions
|
2023-11-29 00:23:37 +01:00 |
|
Sergio Pedri
|
136dee44cd
|
Fix a generator crash processing ArrayTypeSyntax values
|
2023-11-29 00:19:43 +01:00 |
|
Sergio Pedri
|
1826122849
|
Handle and emit diagnostic for initializer expressions
|
2023-11-29 00:19:05 +01:00 |
|
Sergio Pedri
|
fd526a386f
|
Add XML remarks to document RDP specific behavior
|
2023-11-28 01:24:55 +01:00 |
|
Sergio Pedri
|
c0f6adb70b
|
Correctly rewrite ref readonly parameters in HLSL
|
2023-11-27 00:08:06 +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
|
87e7b01f7c
|
Fix image links in NuGet packages and add alt text
|
2023-11-24 20:14:00 +01:00 |
|
Sergio Pedri
|
744c554dd6
|
Remove unnecessary private IUnknown methods
|
2023-11-24 16:05:37 +01:00 |
|
Sergio Pedri
|
2998480f80
|
Use [MemberFunction] for ID3DInclude CCW
|
2023-11-24 15:55:23 +01:00 |
|
Sergio Pedri
|
18b2d1015f
|
Fix return type in [MemberFunction] CCW signatures
|
2023-11-24 15:55:23 +01:00 |
|
Sergio Pedri
|
c3c1bf0509
|
Also use [MemberFunction] in handwritten CCW types
|
2023-11-24 15:55:23 +01:00 |
|
Sergio Pedri
|
d1a07143aa
|
Use [MemberFunction] in COM bindings
|
2023-11-24 15:55:23 +01:00 |
|
Sergio Pedri
|
b49bb27f8e
|
Move shared code to HlslDefinitionsSyntaxProcessor
|
2023-11-24 15:16:10 +01:00 |
|
Sergio Pedri
|
3392dbea49
|
Remove code duplication in object creation rewriting
|
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
|
c18f833c67
|
Minor refactoring to D2D compiler files
|
2023-11-24 13:26:02 +01:00 |
|
Sergio Pedri
|
1b96657db7
|
Add README files for all NuGet packages
|
2023-11-24 12:56:52 +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
|
7ba3b2578b
|
Add GloballyCoherentAttribute type
|
2023-11-24 09:44:18 +01:00 |
|
Sergio Pedri
|
a202637286
|
Remove [AutoConstructor] generator logic
|
2023-11-24 02:05:09 +01:00 |
|
Sergio Pedri
|
bf9b1231b0
|
Remove [AutoConstructor] attributes
|
2023-11-24 02:05:09 +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
|
78af23a4c0
|
Add NotReadonlyShaderTypeAnalyzerBase type
|
2023-11-23 23:20:12 +01:00 |
|
Sergio Pedri
|
fc5f06f5bf
|
Use primary constructors in base analyzer types
|
2023-11-23 23:11:52 +01:00 |
|
Sergio Pedri
|
b398785d46
|
Remove some leftover binding constants/IIDs
|
2023-11-23 21:59:43 +01:00 |
|
Sergio Pedri
|
3ad17eaa6d
|
Use IComObject in remaining D2D types
Also adopt collection expressions for all IIDs
|
2023-11-23 20:26:44 +01:00 |
|
Sergio Pedri
|
1a841c1c83
|
Remove redundant IID_IUnknown property
|
2023-11-23 19:16:44 +01:00 |
|