コミットグラフ
51 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri a98f53d874 Add diagnostic tests for [RequiresDoublePrecisionSupport] 2023-12-17 12:18:41 +01:00
Sergio Pedri 07e929f9af Add unit test for recursive rewriting handling 2023-12-14 16:23:22 +01:00
Sergio Pedri 2b1b864c8d Add dedicated diagnostic for Math/MathF calls 2023-12-09 18:38:20 +01:00
Sergio Pedri 058db06971 Use collection expressions in more places 2023-12-08 12:54:21 +01:00
Sergio Pedri 16582d2215 Remove unnecessary [TestCategory] attributes 2023-12-08 02:41:11 +01:00
Sergio Pedri 48fbe67162 Add diagnostics unit tests for invalid 'this' expressions 2023-12-06 20:22:35 +01:00
Sergio Pedri 7cfaf16ef8 Improve primary constructors error state, add test 2023-12-03 12:33:52 +01:00
Sergio Pedri 7e7b57cd67 Add a diagnostic for constructors with base constructors 2023-12-02 23:25:23 +01:00
Sergio Pedri 86bc68e4dd Move MultipleShaderTypesImplemented to analyzer 2023-11-29 23:17:33 +01:00
Sergio Pedri 3810262548 Fix incorrect diagnostic messages in D2D generator 2023-11-29 00:26:02 +01:00
Sergio Pedri b266308c8b Emit a diagnostic for collection expressions 2023-11-29 00:23:37 +01:00
Sergio Pedri f934c04955 Add unit tests for initializer expressions 2023-11-29 00:19:59 +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 09212e3aeb Fix language version in generator tests 2023-11-22 22:45:15 +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 0e24e68b10 Use collection expressions in more cases in tests 2023-11-20 23:06:22 +01:00
Sergio Pedri 93abd28b72 Switch all projects in solution to .NET 8 2023-11-20 19:28:06 +01:00
Sergio Pedri 2d60216b31 Fix ComputeSharp.Tests.SourceGenerator tests 2023-10-16 23:19:43 +02:00
Sergio Pedri fb6b94c632 Simplify code in diagnostic tests and diagnostic values 2023-10-16 14:03:02 +02:00
Sergio Pedri 0f9b975336 Rename D3D12 generator type 2023-10-15 21:28:03 +02:00
Sergio Pedri de498f338a Rename IPixelShader<TPixel> to IComputeShader<TPixel> 2023-10-15 21:10:59 +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 9343ac7f7b Add explicit discards to all value returning expressions 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 a0048c183b Switch source generator tests to raw string literals 2022-09-16 10:38:38 -07: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 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 9151abd061 Add diagnostics tests for [EmbeddedBytecode(DispatchAxis)] 2022-01-05 13:37:26 +01:00
Sergio Pedri 9c18a0ca0e Add workaround for source generator diagnostics tests 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 fcbe997d78 Fix source generator unit tests 2021-12-08 11:17:06 +01:00
Sergio Pedri 940bc16ebf Add diagnostic tests for TryGetBytecode 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 26a4f942da Fixed failing source generators unit tests 2021-10-30 16:44:59 +02:00
Sergio Pedri d5e3114f7c Refactored code to use file scoped using declarations 2021-10-30 15:11:43 +02:00
Sergio Pedri 52ec5a79b0 Refactored code to use new HLSL primitives global usings 2021-10-30 15:11:43 +02:00
Sergio Pedri da786aaf0d Enabled support for var declarations in shaders 2021-07-14 15:32:09 +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 33c1415f2d Skipped fixed buffer fields from auto constructor and data loader 2021-03-12 14:26:47 +01:00
Sergio Pedri 94997713da Added unit test for invalid shader static field type 2021-03-11 15:38:14 +01:00
Sergio Pedri b330616aa9 Fixed source generator unit tests 2021-03-11 15:38:13 +01:00
Sergio Pedri 3147e8fade Added diagnostics for shader properties 2021-03-11 15:38:13 +01:00
Sergio Pedri 0ff4da8480 Enabled diagnostics for invalid ThreadIds.Normalized usage 2021-03-08 14:42:12 +01:00
Sergio Pedri 1b531f1dd7 Added diagnostics for invalid DispatchSize usage 2021-03-08 14:38:35 +01:00