コミットグラフ
4121 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 4ec30767ce Add D2D1 shader to test custom constructors 2023-12-02 23:25:23 +01:00
Sergio Pedri 2266fe8afd Zero-initialize constructor target instance in HLSL 2023-12-02 22:20:11 +01:00
Sergio Pedri f608289763 Add unit tests for value type constructors support 2023-12-02 20:42:42 +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 f6a39ef48a Merge pull request #698 from Sergio0694/dev/generator-tweaks2
More source generator tweaks
2023-12-01 00:44:49 +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 605ccd008c Merge pull request #697 from Sergio0694/dev/msbuild-tweaks
Use IsTargetFrameworkCompatible instead of StartsWith
2023-11-30 22:11:48 +01:00
Sergio Pedri 51fd22246b Use IsTargetFrameworkCompatible instead of StartsWith 2023-11-30 21:45:36 +01:00
Sergio Pedri d80d3710da Merge pull request #696 from Sergio0694/dev/get-syntax-token
Flow cancellation token to SyntaxReference.GetSyntax() calls
2023-11-30 21:02:19 +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 30f1f4cbb4 Merge pull request #695 from Sergio0694/dev/generator-cancellation
Check for cancellation while doing HLSL rewriting
2023-11-30 00:37:35 +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 a6179901b7 Merge pull request #694 from Sergio0694/dev/multiple-shader-analyzer
Move MultipleShaderTypesImplemented diagnostic to analyzer
2023-11-29 23:35:59 +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 a0c4f53326 Merge pull request #693 from Sergio0694/user/sergiopedri/partial-shader-declarations
Handle partial members in shader types
2023-11-29 23:14:53 +01:00
Sergio Pedri 6e46f14ab3 Port handling of partials to D2D1 generator too 2023-11-29 22:24:48 +01:00
Sergio Pedri 512efa074b Add unit tests for shader with partial declarations 2023-11-29 22:19:34 +01:00
Sergio Pedri 7331b30bc5 Handle partials by gathering symbols for fields, methods 2023-11-29 22:19:23 +01:00
Sergio Pedri 87de35fc78 Merge pull request #691 from Sergio0694/dev/invalid-syntax-diagnostics
Correctly handle and error on initializer expressions and collection expressions
2023-11-29 00:55:11 +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 f934c04955 Add unit tests for initializer expressions 2023-11-29 00:19:59 +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 45455abda9 Merge pull request #689 from Sergio0694/dev/rdp-doc-remarks
Add XML remarks to document RDP specific behavior
2023-11-28 02:18:37 +01:00
Sergio Pedri fd526a386f Add XML remarks to document RDP specific behavior 2023-11-28 01:24:55 +01:00
Sergio Pedri 87e57e6cc5 Merge pull request #687 from Sergio0694/dev/ref-readonly-parameters
Correctly rewrite ref readonly parameters in HLSL
2023-11-27 11:51:46 +01:00
Sergio Pedri 75500a8457 Add unit tests for ref readonly parameters in shaders 2023-11-27 00:08:19 +01:00
Sergio Pedri c0f6adb70b Correctly rewrite ref readonly parameters in HLSL 2023-11-27 00:08:06 +01:00
Sergio Pedri d5f97a7652 Merge pull request #686 from Sergio0694/dev/detect-generics
Detect and warn on annotated generic shader types
2023-11-26 17:01:39 +01:00
Sergio Pedri 41b68eaa5a Add unit tests for annotated generic shader types 2023-11-26 16:35:32 +01:00
Sergio Pedri bf7c470cb3 Skip generating for generic shader types, and warn 2023-11-26 16:35:20 +01:00
Sergio Pedri 4df52a9e40 Merge pull request #685 from Sergio0694/dev/fix-descriptor-analyzer
Fix analyzer for missing shader descriptors when manually implemented
2023-11-25 21:52:52 +01:00
Sergio Pedri 79dcafa8fe Add new unit tests for descriptor interface analyzers 2023-11-25 21:20:32 +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 b2aa6a1fc8 Merge pull request #683 from Sergio0694/dev/nuget-info
Update NuGet packages info
2023-11-24 19:26:43 +01:00
Sergio Pedri ed53ad054a Remove DotNet.ReproducibleBuilds package 2023-11-24 18:37:23 +01:00
Sergio Pedri 2a3c3e77ce Add missing PackageReadmeFile property 2023-11-24 17:49:30 +01:00
Sergio Pedri d7f7e8b83d Merge pull request #674 from Sergio0694/dev/callconv-member-function
Use [MemberFunction] callconv in native bindings
2023-11-24 16:41:44 +01:00
Sergio Pedri 744c554dd6 Remove unnecessary private IUnknown methods 2023-11-24 16:05:37 +01:00
Sergio Pedri 57bdc36fb1 Use [MemberFunction] in sample CCW type 2023-11-24 16:05:00 +01:00