コミットグラフ
68 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri b266308c8b Emit a diagnostic for collection expressions 2023-11-29 00:23:37 +01:00
Sergio Pedri 1826122849 Handle and emit diagnostic for initializer expressions 2023-11-29 00:19:05 +01:00
Sergio Pedri bf7c470cb3 Skip generating for generic shader types, and warn 2023-11-26 16:35:20 +01:00
Sergio Pedri 28a458630e Fix interface detection in descriptor interface analyzers 2023-11-25 21:20:22 +01:00
Sergio Pedri a6c4b05e43 Add InvalidGroupSharedFieldDeclarationAnalyzer
Also move the diagnostics there from the source generator
2023-11-24 11:51:17 +01:00
Sergio Pedri e1ca46aa4c Add InvalidGloballyCoherentFieldDeclarationAnalyzer 2023-11-24 10:30:08 +01:00
Sergio Pedri 43b79bdf4b Skip warnings for shader types with no fields 2023-11-24 00:32:27 +01:00
Sergio Pedri a66061453b Add derived analyzers for not readonly shader types 2023-11-24 00:32:27 +01:00
Sergio Pedri be0f0cf593 Rename DispatchAxis to DefaultThreadGroupSizes 2023-11-21 18:03:19 +01:00
Sergio Pedri cecc16a52e Rename [EmbeddedBytecode] to [ThreadGroupSize] 2023-11-21 18:02:51 +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 5b971b1b3d Add NotAccessibleFieldTypeInGeneratedShaderDescriptorAttributeTargetAnalyzerBase 2023-10-19 13:59:06 +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 862ea5a51b Rename ComputeSharp.Dynamic to ComputeSharp.Dxc 2023-10-17 03:10:38 +02:00
Sergio Pedri fb6b94c632 Simplify code in diagnostic tests and diagnostic values 2023-10-16 14:03:02 +02:00
Sergio Pedri ba20d0db76 Fix MissingComputeShaderDescriptorOnComputeShaderAnalyzer 2023-10-16 11:15:48 +02:00
Sergio Pedri 0f0ecab6fc Fix InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer 2023-10-16 11:11:07 +02:00
Sergio Pedri 876e261f6b Add InvalidGeneratedComputeShaderDescriptorAttributeTargetAnalyzer 2023-10-15 23:05:35 +02:00
Sergio Pedri 6baf3339fe Add MissingComputeShaderDescriptorOnComputeShaderAnalyzer 2023-10-15 23:00:14 +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 8be9203a1c Remove unnecessary parentheses 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 c908cc57e5 Add InvalidComputeContextCopyAnalyzer 2022-09-24 11:21:40 -07:00
Sergio Pedri 9d8aa1d57b Fix message for CMPS0044 error 2022-09-18 14:39:00 +02:00
Sergio Pedri 1e3611a060 Prevent bool fields in custom struct types in shaders
These are not allowed due to alignment reasons
2022-08-27 16:50:22 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri 1ef6040e58 Tweak properties detection to block all field backed ones 2022-04-29 12:58:19 +02:00
Sergio Pedri d51c0f5bf0 Add additional diagnostics for invalid shader discovered types 2022-04-24 21:04:33 +02:00
Sergio Pedri 7318f5bd54 Add diagnostic for invalid method calls from shaders 2022-04-24 21:04:33 +02:00
Sergio Pedri 4cc849f245 Move DiagnosticsExtensions to shared generation project 2022-04-24 21:04:27 +02:00
Sergio Pedri 2212b8716d Port base APIs for D2D1 generator 2022-04-24 21:03:46 +02:00
Sergio Pedri d605b345df Move code to new ComputeSharp.D2D1Interop project 2022-04-24 21:03:13 +02:00
Sergio Pedri e00d2ec748 Fix build error for CMPS0001 analyzer rule 2022-01-31 16:49:13 +01:00
Sam Harwell 11358ce5c0 Avoid target-typed new for release tracking analyzer
See https://github.com/dotnet/roslyn-analyzers/issues/5828
2022-01-30 19:03:08 -08:00
Sergio Pedri 3e7a3c5b7c Enable source generator support for DispatchAxis 2022-01-05 13:32:21 +01:00
Sergio Pedri 71fad3a8fd Add diagnostic when [EmbeddedBytecode] is missing 2021-12-19 16:47:34 +01:00
Sergio Pedri 771f8515c7 Remove leftover code and diagnostics 2021-12-08 11:17:07 +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 6a7e256979 Add diagnostics to TryGetBytecode generation 2021-12-06 17:43:44 +01:00
Sergio Pedri d8a4a7412d Restore <TreatWarningsAsErrors> and fix warnings 2021-11-20 16:48:18 +01:00
Sergio Pedri d5e3114f7c Refactored code to use file scoped using declarations 2021-10-30 15:11:43 +02:00
Sergio Pedri f8207f11ff Removed previous individual source generators for shaders 2021-07-12 15:58:52 +02:00
Sergio Pedri 5a4e05ba94 Added diagnostics for multiple shader type implementations 2021-05-11 01:54:37 +02:00
Sergio Pedri a94e5559a0 Added diagnostics for shaders exceeding root signature size 2021-03-12 14:55:30 +01:00
Sergio Pedri 3147e8fade Added diagnostics for shader properties 2021-03-11 15:38:13 +01:00
Sergio Pedri e12169c11e Switched static properties to fields, added globals support 2021-03-11 15:38:13 +01:00