コミットグラフ
48 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri fb0a1a441a Update generator to apply custom compile options 2023-11-21 16:01:09 +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 9815b8532c Generate GraphicsResourcesLoader type to load resources 2023-11-20 22:07:17 +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 4ee81cabce Add and integrate IConstantBufferInfo interface 2023-11-20 21:11:44 +01:00
Sergio Pedri e6f9261d87 Shader FieldInfo models across D2D1/D3D12 generators 2023-10-17 00:47:51 +02:00
Sergio Pedri 55fd665668 Decouple resources model in D3D12 generator 2023-10-17 00:43:28 +02:00
Sergio Pedri 471d87cd02 Update D3D12 generator for new loading methods 2023-10-15 20:12:23 +02:00
Sergio Pedri 4f53b3e686 Implement generation of IShader.ResourceDescriptorRanges 2023-10-14 11:06:18 +02:00
Sergio Pedri d90266fc61 Add and generate IShader.ConstantBufferSize API 2023-10-14 10:20:31 +02:00
Sergio Pedri 0919e5b1b4 Fix incorrect resource count in dispatch data 2023-10-14 01:08:06 +02:00
Sergio Pedri af9338053b Add and adopt HlslBytecodeInfoKey model 2023-10-14 00:35:04 +02:00
Sergio Pedri 8c3b9be08f Streamline ShaderInfo model, remove secondary models 2023-10-14 00:35:04 +02:00
Sergio Pedri 2c8d0d2385 Share HlslBytecodeInfo model across D3D12/D2D1 generators 2023-10-14 00:35:04 +02:00
Sergio Pedri fa8d9446cd Adopt HlslBytecodeInfo pattern in D3D12 generator 2023-10-14 00:35:04 +02:00
Sergio Pedri 6900923431 Centralize all logic generation into initial transform 2023-10-13 23:07:48 +02:00
Sergio Pedri bad605164a Remove ShaderType type, simplify code 2023-10-13 23:07:48 +02:00
Sergio Pedri 8e0aa437bc Always generate hardcoded HLSL source 2023-10-13 12:11:55 +02:00
Sergio Pedri 249c708466 Remove [ShaderMethod] support and infrastructure 2023-10-13 12:11:55 +02:00
Sergio Pedri 3db275a157 Remove IShader.GetDispatchId() infrastructure 2023-10-13 10:58:57 +02:00
Sergio Pedri 23e5300dee Switch to EquatableArray<T> in ComputeSharp models 2022-10-20 03:11:30 +02:00
Sergio Pedri b2afb88f30 Switch methods to block bodies 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri d8aefe3128 Remove symbols from ShaderMethodSourceGenerator pipeline 2022-09-17 20:49:17 +02:00
Sergio Pedri a205efe6fa Remove symbols from IShaderGenerator pipeline 2022-09-17 20:35:38 +02:00
Sergio Pedri 87f2e04ca0 Make all models directly equatable 2022-09-17 14:48:33 +02:00
Sergio Pedri fd9d8a6f65 Disable shader compilation if any errors are present 2022-04-24 21:04:30 +02:00
Sergio Pedri 6b0c1161c8 Streamline equality comparison of generation models 2022-04-24 21:04:27 +02:00
Sergio Pedri 6e247639ed Move common models to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 9a51331910 Move common extensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri f17c43065e Remove leftover types from initial port 2022-04-24 21:04:10 +02:00
Sergio Pedri 4d51d8d05b Remove unnecessary [Pure] attributes 2021-12-19 17:55:06 +01:00
Sergio Pedri 91f2b09038 Fix incorrect HierarchyInfo.Comparer.GetHashCode 2021-12-19 16:45:13 +01:00
Sergio Pedri d1fabb6fed Switch [ShaderMethod] generator to incremental 2021-12-08 11:17:07 +01:00
Sergio Pedri 0aba871d52 Switch [AutoConstructor] generator to incremental 2021-12-08 11:17:07 +01:00
Sergio Pedri 2e160c5caa Enable diagnostics from bytecode transformation 2021-12-08 11:17:06 +01:00
Sergio Pedri ce63946d13 Minor code style tweaks 2021-12-08 11:17:06 +01:00
Sergio Pedri b25f6151f9 Switch TryGetBytecode() to incremental 2021-12-08 11:17:05 +01:00
Sergio Pedri c6172032bd Switch LoadDispatchMetadata() to incremental 2021-12-08 11:17:05 +01:00
Sergio Pedri be614c5af5 Enable caching for DispatchId info 2021-12-08 11:17:05 +01:00
Sergio Pedri ed75dd4b5a Implement comparers for all model types 2021-12-08 11:17:04 +01:00
Sergio Pedri 5210c1ecd9 Switch BuildHlslString() to incremental 2021-12-08 11:17:04 +01:00
Sergio Pedri 8c0637e363 Enable diagnostics generation for LoadDispatchData() 2021-12-08 11:17:04 +01:00
Sergio Pedri b912b4f076 Implement GetNonDynamicHlslSourceInfo() method
This includes the data gathering step for the HLSL rewrite pipeline
2021-12-08 11:17:04 +01:00
Sergio Pedri 1b465e7b9d Switch LoadDispatchData() to incremental 2021-12-08 11:17:04 +01:00
Sergio Pedri fd820a67c7 Add incremental generation for GetDispatchId 2021-12-08 11:17:03 +01:00