コミットグラフ
82 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri fa8d9446cd Adopt HlslBytecodeInfo pattern in D3D12 generator 2023-10-14 00:35:04 +02:00
Sergio Pedri 49d0ec2a5b Unify output node for D3D12 source generator 2023-10-14 00:35:04 +02:00
Sergio Pedri 14de1a2f66 Switch LoadBytecode method to indented writer 2023-10-14 00:35:04 +02:00
Sergio Pedri aadce12801 Switch LoadDispatchMetadata method to indented writer 2023-10-14 00:35:03 +02:00
Sergio Pedri d9eb477c1c Switch LoadDispatchData method to indented writer 2023-10-14 00:35:03 +02:00
Sergio Pedri 6900923431 Centralize all logic generation into initial transform 2023-10-13 23:07:48 +02:00
Sergio Pedri 2fba1f9730 Remove some generator intermediate steps 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 61f155bfb6 Switch IShader.BuildHlslSource to use indented writer 2023-10-13 23:07:47 +02:00
Sergio Pedri 8e0aa437bc Always generate hardcoded HLSL source 2023-10-13 12:11:55 +02:00
Sergio Pedri 2e020a1524 Remove checks for dynamic shader in source generator 2023-10-13 12:11:55 +02:00
Sergio Pedri 490226aa4d Disable dynamic shader compilation support 2023-10-13 12:00:15 +02:00
Sergio Pedri 3db275a157 Remove IShader.GetDispatchId() infrastructure 2023-10-13 10:58:57 +02:00
Sergio Pedri 6fc3c0d971 Port MissingAllowUnsafeBlocksCompilationOptionAnalyzer to ComputeSharp 2023-10-10 23:27:33 +02:00
Sergio Pedri 0804b66ca2 Stop checking for [SkipLocalsInit] being available 2023-10-10 23:27:33 +02:00
Sergio Pedri 7506cab338 Simplify creating source generator builder types 2023-10-09 13:31:41 +02:00
Sergio Pedri 514d2921fc Remove language checks for C# 11 2023-09-27 19:37:27 +02:00
Sergio Pedri 49791db39e Remove unnecessary property from HierarchyInfo 2022-10-29 15:56:15 +02:00
Sergio Pedri ac89019292 Remove IEqualityComparerExtensions 2022-10-20 03:27:45 +02:00
Sergio Pedri 23e5300dee Switch to EquatableArray<T> in ComputeSharp models 2022-10-20 03:11:30 +02:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri dab94bdae7 Only emit raw multiline string literals when possible 2022-10-08 15:05:52 +02:00
Sergio Pedri 883d99ca9f Use pooled array builders in all generators 2022-10-07 09:14:17 -07:00
Sergio Pedri 527a134082 Fix diagnostics propagation in ComputeSharp generator 2022-09-17 23:01:50 +02:00
Sergio Pedri a205efe6fa Remove symbols from IShaderGenerator pipeline 2022-09-17 20:35:38 +02:00
Sergio Pedri 9eac3c779d Refactor diagnostic models to be properly equatable 2022-09-17 17:58:44 +02:00
Sergio Pedri 87f2e04ca0 Make all models directly equatable 2022-09-17 14:48:33 +02:00
Sergio Pedri 5cd53f3077 Remove conditional paths for raw multiline strings 2022-09-16 23:03:35 +02:00
Sergio Pedri 579e9786e9 Use .g.cs suffix for all generated files 2022-09-06 07:57:05 +02:00
Sergio Pedri 2de22e1cb3 Remove unnecessary using definitions 2022-08-20 16:15:40 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri a62f8ec774 Fix build error in ComputeSharp with C# preview 2022-06-05 13:55:49 +02:00
Sergio PedriとAshley 772553852c Use pattern matching to check parse options
Co-authored-by: Ashley <[email protected]>
2022-05-29 03:25:40 +02:00
Sergio Pedri 398ec17fb3 Use raw multiline string literals in DX12 generator as well 2022-05-29 03:25:40 +02:00
Simona Koníčková 1465b5fd9d Use GetText instead of ToFullString 2022-05-28 03:14:22 +02:00
Sergio Pedri ee01ddd9db Minor optimization to diagnostics for HLSL errors 2022-04-24 21:04:32 +02:00
Sergio Pedri a5088788c4 Fix diagnostics for HLSL build generator errors 2022-04-24 21:04:32 +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 601cd3478e Minor code style tweaks 2022-04-24 21:04:10 +02:00
Sergio Pedri 6f39eee106 Rename BuildHlslString to BuildHlslSource 2022-04-24 21:04:09 +02:00
Sergio Pedri 76d9fcc2d8 Simplify AddSource calls in source generators 2022-04-01 15:20:24 +02:00
Sergio Pedri 704e535747 Improve IShader source generator cancellation support 2022-01-30 13:58:37 +01:00
Sergio Pedri 0508887482 Skip generating full GetDispatchId() when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 71fad3a8fd Add diagnostic when [EmbeddedBytecode] is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri b9313ca6d8 Skip generating BuildHlslString body when dynamic support is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 16ef5f82e9 Minor fixes to source generators 2021-12-19 16:45:12 +01:00