コミットグラフ
3912 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 545f4b6ca4 Move constant buffer syntax to shared project 2023-11-20 21:11:44 +01:00
Sergio Pedri 4ee81cabce Add and integrate IConstantBufferInfo interface 2023-11-20 21:11:44 +01:00
Sergio Pedri 832e148b67 Merge pull request #650 from Sergio0694/dev/primary-constructors-net8
Support primary constructor parameters for D2D shaders
2023-11-20 21:10:36 +01:00
Sergio Pedri 01282b40c3 Improve XML docs for generated constant buffer fields 2023-11-20 20:51:41 +01:00
Sergio Pedri 876d419b0f Fix conditional Write[If] methods for indented writer 2023-11-20 20:51:41 +01:00
Sergio Pedri 819908db16 Fix primary constructor fields in generated D2D1 source 2023-11-20 20:51:41 +01:00
Sergio Pedri 041a5c0288 Support primary field constructors in buffer marshaller 2023-11-20 20:51:40 +01:00
Sergio Pedri ba9f421c97 Simplify and optimize ConstantBuffer.GetInfo method 2023-11-20 20:51:40 +01:00
Sergio Pedri 785606dcf4 Generate unsafe accessors for fields as extension methods 2023-11-20 20:51:40 +01:00
Sergio Pedri accb602f1f Strip readonly-ness via the generated unsafe accessors 2023-11-20 20:51:40 +01:00
Sergio Pedri 531262e6f2 Always generate unsafe accessors for all fields 2023-11-20 20:51:40 +01:00
Sergio Pedri 35a73051d7 Fix marshalling code for global types, add tests 2023-11-20 20:51:40 +01:00
Sergio Pedri 2961612f47 Correctly generate accessors for nested/unaccessible fields 2023-11-20 20:51:40 +01:00
Sergio Pedri 99a0c2b8b6 Skip duplicate field accessors for same fields 2023-11-20 20:51:40 +01:00
Sergio Pedri bec001e3b0 Simplify constant buffer files in D2D1 generator 2023-11-20 20:51:40 +01:00
Sergio Pedri 2fc520c965 Emit ConstantBufferMarshaller type in D2D1 generator 2023-11-20 20:51:39 +01:00
Sergio Pedri 55b696ffd6 Remove unnecessary ref parameters (change to in) 2023-11-20 20:51:39 +01:00
Sergio Pedri ed9702339e Merge pull request #649 from Sergio0694/dev/net8.0-ga
Switch all TFMs to .NET 8 and enable C# 12
2023-11-20 20:48:35 +01:00
Sergio Pedri 93167a6e1b Update test to work around CsWinRT marshalling issue
See https://github.com/microsoft/CsWinRT/issues/1393
2023-11-20 19:28:34 +01:00
Sergio Pedri e821b1da2d Configure sample publishing from .csproj file 2023-11-20 19:28:07 +01:00
Sergio Pedri cf8f329ef9 Temporarily disable reflection-free mode in tests 2023-11-20 19:28:07 +01:00
Sergio Pedri b1b724763c Add <UseRidGraph> as a temporary workaround for Win2D 2023-11-20 19:28:07 +01:00
Sergio Pedri ca079e15c0 Update test and sample NuGet packages to latest stable 2023-11-20 19:28:06 +01:00
Sergio Pedri 1a66d33311 Switch to .NET 8 stable SDK 2023-11-20 19:28:06 +01:00
Sergio Pedri a68497c067 Update NativeAOT configuration for .NET 8 2023-11-20 19:28:06 +01:00
Sergio Pedri 93abd28b72 Switch all projects in solution to .NET 8 2023-11-20 19:28:06 +01:00
Sergio Pedri 4f05a70177 Merge pull request #645 from Sergio0694/dev/remove-leftover-win32
Remove some leftover Win32 bindings
2023-11-08 08:22:33 -08:00
Sergio Pedri 2e723d2a55 Remove unused IDirect3DDxgiInterfaceAccess type 2023-11-08 01:55:51 +01:00
Sergio Pedri 469f66475b Remove unused HSTRING_HEADER type 2023-11-08 01:49:41 +01:00
Sergio Pedri 5be5036791 Merge pull request #644 from Sergio0694/dev/fix-ref-tracker-exception
Improve throw path in ReferenceTracker
2023-11-05 09:41:50 -08:00
Sergio Pedri 5eda154570 Improve throw path in ReferenceTracker 2023-11-05 16:41:31 +01:00
Sergio Pedri bef1bb802b Merge pull request #637 from Sergio0694/dev/fix-diagnostics
Fix duplicate diagnostic titles, use target-typed new()
2023-10-21 18:42:30 +02: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 dd9d6bca06 Merge pull request #636 from Sergio0694/dev/improve-ci-conditions
Skip CI workflow for draft PRs and PRs from this repository
2023-10-21 14:13:15 +02:00
Sergio Pedri 6edd59ee47 Skip CI workflow for draft PRs and PRs from this repository 2023-10-21 13:19:33 +02:00
Sergio Pedri 4393901313 Merge pull request #635 from Sergio0694/dev/analysis-tweaks
Apply some code tweaks to make analysis happy
2023-10-20 11:13:13 +02:00
Sergio Pedri 2a43123b81 Apply some code tweaks to make analysis happy 2023-10-19 23:43:22 +02:00
Sergio Pedri 45ef71b4e0 Merge pull request #634 from Sergio0694/dev/update-nuget
Update NuGet packages and release version
2023-10-19 16:38:29 +02:00
Sergio Pedri ae519c12fe Bump ComputeSharp version to 3.0 2023-10-19 16:00:53 +02:00
Sergio Pedri 6a39d15423 Update all NuGet packages to latest stable 2023-10-19 15:01:22 +02:00
Sergio Pedri 240cffcb16 Merge pull request #633 from Sergio0694/dev/not-accessible-field-type-analyzer
Add analyzers for shader fields of types being less accessible than internal
2023-10-19 14:57:27 +02:00
Sergio Pedri 76f27250f4 Skip shader fields of not accessible types 2023-10-19 14:04:43 +02:00
Sergio Pedri 17527764b9 Add unit test for new analyzer 2023-10-19 14:01:03 +02:00
Sergio Pedri 5b971b1b3d Add NotAccessibleFieldTypeInGeneratedShaderDescriptorAttributeTargetAnalyzerBase 2023-10-19 13:59:06 +02:00
Sergio Pedri ba80b6aa01 Merge pull request #632 from Sergio0694/dev/DisableRuntimeMarshalling
Generate [DisableRuntimeMarshalling] in all projects
2023-10-19 13:22:54 +02:00
Sergio Pedri 57051ded45 Generate [DisableRuntimeMarshalling] in all projects 2023-10-19 12:35:14 +02:00
Sergio Pedri fd6717967b Merge pull request #631 from Sergio0694/dev/internal-accessibility-analyzer
Add analyzers for shader types being less accessible than internal
2023-10-19 12:33:10 +02:00
Sergio Pedri 0a04db2a5b Restore MissingPixelShaderDescriptorOnPixelShaderCodeFixer 2023-10-19 11:55:40 +02:00
Sergio Pedri d076ce5c05 Add test for new accessibility analyzer 2023-10-19 11:55:40 +02:00