コミットグラフ
771 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 2fcfaafc63 Add incrementality unit tests for all generators 2023-12-26 16:20:47 +01:00
Sergio Pedri 49b1ac7c79 Update VerifyIncrementalSteps for optional diagnostics 2023-12-26 16:20:37 +01:00
Sergio Pedri 4f75380750 Add CSharpGeneratorTest<TGenerator>.VerifyIncrementalSteps 2023-12-26 14:45:08 +01:00
Sergio Pedri d222f35479 Add unit test for new constructors 2023-12-25 23:31:18 +01:00
Sergio Pedri e276231756 Remove trailing newline to some leftover files 2023-12-25 17:37:17 +01:00
Sergio Pedri 18e8f03cb1 Use CSharpGeneratorTest in output tests 2023-12-23 17:32:34 +01:00
Sergio Pedri 7c28ec9bf5 Use CSharpGeneratorTest in diagnostic tests 2023-12-23 17:24:20 +01:00
Sergio Pedri 15c7d78a5e Rename D3D12 DiagnosticsTests file for consistency 2023-12-23 17:21:33 +01:00
Sergio Pedri 67f9ebecca Add CSharpGeneratorTest<TGenerator> helper type 2023-12-23 17:21:32 +01:00
Sergio Pedri 5127ede784 Remove header from generated HLSL sources 2023-12-22 17:36:02 +01:00
Sergio Pedri 51895aa970 Centralize and cleanup <NoWarn> properties 2023-12-22 01:50:11 +01:00
Sergio Pedri eeffa36419 Update all NuGet dependencies to latest stable 2023-12-21 23:51:36 +01:00
Sergio Pedri 1349c88145 Add unit tests for shader ComputeSharp.Bool fields 2023-12-21 18:47:05 +00:00
Sergio Pedri c3ae04f668 Add unit test for 'this.' expression rewriting 2023-12-21 19:26:26 +01:00
Sergio Pedri f1e0560053 Support 'this.' expressions in shader custom types 2023-12-21 19:26:26 +01:00
Sergio Pedri 5f429dfd38 Add D2D tests for shader rewriting 2023-12-21 18:50:30 +01:00
Sergio Pedri 2cb61a3eec Fix sorting of custom type declarations in HLSL 2023-12-21 18:50:30 +01:00
Sergio Pedri cea25fbd4d Add [RequiresDoublePrecisionSupport] to test shaders 2023-12-17 12:18:41 +01:00
Sergio Pedri a98f53d874 Add diagnostic tests for [RequiresDoublePrecisionSupport] 2023-12-17 12:18:41 +01:00
Sergio Pedri 76752e2e47 Add InvalidD2DRequiresDoublePrecisionSupportAnalyzer and tests 2023-12-16 18:13:32 +01:00
Sergio Pedri ed953c6bf1 Add diagnostic tests for double precision attribute 2023-12-16 18:13:32 +01:00
Sergio Pedri 0051423caa Add diagnostics for incorrect double precision annotations 2023-12-16 18:13:32 +01:00
Sergio Pedri 8474eec869 Add D2DEnableRuntimeCompilationOnAssemblyAnalyzer and tests 2023-12-16 13:30:58 +01:00
Sergio Pedri 3722eb3026 Add more diagnostics for [D2DEnableRuntimeCompilation] 2023-12-16 13:19:55 +01:00
Sergio Pedri 2d03612a1d Add [D2DEnableRuntimeCompilation] to test projects 2023-12-16 03:11:19 +01:00
Sergio Pedri f603434310 Add tests for D2DRuntimeCompilationDisabledAnalyzer 2023-12-16 02:35:24 +01:00
Sergio Pedri 1ffa43ed34 Use semicolon token type declarations if possible 2023-12-16 00:04:59 +01:00
Sergio Pedri 755c82d7bd Rename mapper type to D2D1DrawTransformMapper<T> 2023-12-14 16:43:50 +01:00
Sergio Pedri 726bac4818 Move transform mapper factory methods into same type
Simplify names
2023-12-14 16:43:50 +01:00
Sergio Pedri 07e929f9af Add unit test for recursive rewriting handling 2023-12-14 16:23:22 +01:00
Sergio Pedri b13a9f6b0e Add unit tests for forward declarations 2023-12-14 11:46:06 +01:00
Sergio Pedri fb3439556c Use forward declarations wherever possible 2023-12-13 14:22:25 +01:00
Sergio Pedri 62921a9f03 Add unit tests for new implicit conversion operators 2023-12-09 19:28:47 +01:00
Sergio Pedri 2b1b864c8d Add dedicated diagnostic for Math/MathF calls 2023-12-09 18:38:20 +01:00
Sergio Pedri 3b92f3d595 Remove VectorN/Math/MatF HLSL projections 2023-12-09 16:30:30 +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 00d11e912a Rename incorrectly named test file 2023-12-08 02:16:50 +01:00
Sergio Pedri 5daf79a9c6 Add strip reflection data test to D2D1PixelShaderTests 2023-12-07 12:01:27 +01:00
Sergio Pedri 2d952769ee Add unit test for D2D shader reflection stripping 2023-12-07 12:01:19 +01:00
Sergio Pedri 5973921567 Handle identifier names for all static shader fields 2023-12-06 21:12:42 +01:00
Sergio Pedri c0f1ad6a1e Handle member accesses for static shader fields 2023-12-06 21:12:42 +01:00
Sergio Pedri f844452072 Add unit test for simple external static accesses 2023-12-06 21:12:42 +01:00
Sergio Pedri 48fbe67162 Add diagnostics unit tests for invalid 'this' expressions 2023-12-06 20:22:35 +01:00
Sergio Pedri 3d1a131d23 Apply IDE0001 code fixers (simplify names) 2023-12-04 20:42:31 +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 4ec30767ce Add D2D1 shader to test custom constructors 2023-12-02 23:25:23 +01:00
Sergio Pedri f608289763 Add unit tests for value type constructors support 2023-12-02 20:42:42 +01:00
Sergio Pedri 86bc68e4dd Move MultipleShaderTypesImplemented to analyzer 2023-11-29 23:17:33 +01:00