コミットグラフ
2792 コミット
作成者 SHA1 メッセージ 日付
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 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 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 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 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 5eda154570 Improve throw path in ReferenceTracker 2023-11-05 16:41:31 +01: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 2a43123b81 Apply some code tweaks to make analysis happy 2023-10-19 23:43:22 +02:00
Sergio Pedri 6a39d15423 Update all NuGet packages to latest stable 2023-10-19 15:01:22 +02:00
Sergio Pedri 76f27250f4 Skip shader fields of not accessible types 2023-10-19 14:04:43 +02:00
Sergio Pedri 5b971b1b3d Add NotAccessibleFieldTypeInGeneratedShaderDescriptorAttributeTargetAnalyzerBase 2023-10-19 13:59:06 +02:00
Sergio Pedri 57051ded45 Generate [DisableRuntimeMarshalling] in all projects 2023-10-19 12:35:14 +02:00
Sergio Pedri e85c8f870a Add NotAccessibleGeneratedShaderDescriptorAttributeTargetAnalyzerBase 2023-10-19 11:55:40 +02:00
Sergio Pedri d5ddf8bf1e Share MissingAllowUnsafeBlocksCompilationOptionAnalyzer 2023-10-19 01:59:45 +02:00
Sergio Pedri 91f78969b1 Adopt static abstracts in ComputeSharp (and related projects) 2023-10-18 20:50:44 +02:00
Sergio Pedri 786efaf38f Adopt static abstracts in ComputeSharp.D2D1 (and WinUI) 2023-10-18 19:21:17 +02:00
Sergio Pedri 14336448f5 Bump Roslyn dependencies to 4.7.0 2023-10-18 18:20:54 +02:00
Sergio Pedri 29260dc2a1 Switch all projects in solution to .NET 7 2023-10-18 18:12:58 +02:00
Sergio Pedri 813f5a18f1 Remove downlevel paths in ComputeSharp 2023-10-18 13:22:36 +02:00