コミットグラフ
3938 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 0e24e68b10 Use collection expressions in more cases in tests 2023-11-20 23:06:22 +01:00
Sergio Pedri a3c0d167f8 Use collection expressions for stackalloc expressions 2023-11-20 23:06:22 +01:00
Sergio Pedri c9a5882f43 Use collection expressions for empty arrays and spans 2023-11-20 23:06:22 +01:00
Sergio Pedri 6d560f08e2 Use collection expressions for array initializations 2023-11-20 23:06:22 +01:00
Sergio Pedri 8dc70916ac Use collection expressions to create empty collections 2023-11-20 23:06:22 +01:00
Sergio Pedri 358f378796 Replace ToArray() with collection expressions 2023-11-20 23:06:22 +01:00
Sergio Pedri 6897ecfcb2 Use primary constructors in remaining projects 2023-11-20 23:06:22 +01:00
Sergio Pedri 46a6b25756 Use primary constructors in published projects 2023-11-20 23:06:21 +01:00
Sergio Pedri 531e3c3b35 Merge pull request #652 from Sergio0694/dev/primary-constructors-resources
Support primary constructor parameters for DX12 shader resources
2023-11-20 22:35:42 +01:00
Sergio Pedri 8229ccd810 Suppress warning for unused field in benchmark project 2023-11-20 22:17:54 +01:00
Sergio Pedri cf8969a77e Fix generated field accessors for resource fields 2023-11-20 22:07:18 +01:00
Sergio Pedri 5811ba60cf Restructure resources info logic, drop unnecessary TypeName field 2023-11-20 22:07:18 +01:00
Sergio Pedri 1760c8d3ff Split Resources syntax generation code into partial file 2023-11-20 22:07:18 +01:00
Sergio Pedri e254cc19f3 Remove unnecessary parameter 2023-11-20 22:07:17 +01:00
Sergio Pedri 9815b8532c Generate GraphicsResourcesLoader type to load resources 2023-11-20 22:07:17 +01:00
Sergio Pedri 16e49f523a Merge pull request #651 from Sergio0694/dev/primary-constructors-net8-shared
Support primary constructor parameters for DX12 shaders
2023-11-20 22:06:15 +01:00
Sergio Pedri e3222c8d62 Fix generated code for shaders with bool fields 2023-11-20 21:11:45 +01:00
Sergio Pedri 940cdfdcdc Fix handling empty shaders with just artificial fields 2023-11-20 21:11:45 +01:00
Sergio Pedri 777f8537f2 Fix handling artificial fields in D3D12 constant buffer 2023-11-20 21:11:45 +01:00
Sergio Pedri e4fb230068 Remove unnecessary ResourceInfo.Offset property 2023-11-20 21:11:45 +01:00
Sergio Pedri fcf287c4ad Restructure resources info gathering logic 2023-11-20 21:11:45 +01:00
Sergio Pedri 6f843e3e85 Remove unnecessary partial file 2023-11-20 21:11:44 +01:00
Sergio Pedri 3c7d5db340 Switch D3D12 generator to shared constant buffer logic 2023-11-20 21:11:44 +01:00
Sergio Pedri 0a7dbb3cfb Add logic to optionally generate artificial fields 2023-11-20 21:11:44 +01:00
Sergio Pedri 5df310f87b Only generate two way marshalling if requested 2023-11-20 21:11:44 +01:00
Sergio Pedri 4c5bd8a9da Move constant buffer info gathering logic too 2023-11-20 21:11:44 +01:00
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