コミットグラフ
45 コミット
作成者 SHA1 メッセージ 日付
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
Sergio Pedri 1b531f1dd7 Added diagnostics for invalid DispatchSize usage 2021-03-08 14:38:35 +01:00
Sergio Pedri c5aed333af Renamed WarpIds type to GridIds 2021-03-08 00:17:27 +01:00
Sergio Pedri 7c02100df1 Added more shader constant property diagnostics 2021-03-07 20:28:52 +01:00
Sergio Pedri c14c64dbc7 Added syntax rewriter for static constants 2021-03-07 19:27:39 +01:00
Sergio Pedri e930c969cb Added diagnostics for non constant matrix swizzling indices 2021-03-02 16:14:12 +01:00
Sergio Pedri a5217eef08 Added warnings on source generator failures 2021-02-25 18:55:53 +01:00
Sergio Pedri d30dec6afe Added missing readonly modifier to descriptors 2021-02-19 13:52:46 +01:00
Youssef Victor 0f48cd3932 Fix tracking analyzer releases 2021-02-19 14:27:22 +02:00
Sergio Pedri 6653cba24f Added error for string literal expressions 2021-02-18 20:48:32 +01:00
Sergio Pedri 944ea0e6a0 Added some more errorsand unit test pass 2021-02-18 20:36:35 +01:00
Sergio Pedri 5a2fcbf418 Minor code refactoring 2021-02-18 15:27:12 +01:00
Sergio Pedri d55d5009c6 Added error for declarations of invalid type 2021-02-18 14:34:35 +01:00
Sergio Pedri 922b65668c Added more diagnostic errors to source generators 2021-02-18 14:08:56 +01:00
Sergio Pedri 0200e867bb Added error for usage of dispatch types out of scope 2021-02-18 03:20:12 +01:00
Sergio Pedri 74f60ad5c2 Added error for shaders with no resources 2021-02-18 00:48:41 +01:00
Sergio Pedri 707f0be5c4 Added error for non static group shared buffer 2021-02-18 00:18:27 +01:00
Sergio Pedri 4fe3c857be Added errors for invalid group shared fields 2021-02-17 20:19:58 +01:00
Sergio Pedri 4b280bf2b6 Added error for captured fields of invalid types 2021-02-17 19:22:42 +01:00