コミットグラフ
54 コミット
作成者 SHA1 メッセージ 日付
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 37af7113e6 Add D2DRuntimeCompilationDisabledAnalyzer 2023-12-16 02:26:02 +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 c0e78bb1a2 Add HlslDefinitionsSyntaxProcessor.TryGetStaticField 2023-12-06 21:12:42 +01:00
Sergio Pedri b49e3365a4 Add diagnostic for invalid 'this' expressions 2023-12-06 20:22:19 +01:00
Sergio Pedri 7e7b57cd67 Add a diagnostic for constructors with base constructors 2023-12-02 23:25:23 +01:00
Sergio Pedri 7a1aed7890 Plug constructors support into D2D generator too 2023-12-02 19:46:55 +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 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 a66061453b Add derived analyzers for not readonly shader types 2023-11-24 00:32:27 +01:00
Sergio Pedri ade3a1e453 Update D2D1 diagnostic descriptors for consistency 2023-11-21 19:31:47 +01:00
Sergio Pedri e09007e910 Add InvalidD2D1CompileOptionsEnableLinkingOnShaderTypeAnalyzer 2023-11-21 14:37:14 +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 fb6b94c632 Simplify code in diagnostic tests and diagnostic values 2023-10-16 14:03:02 +02:00
Sergio Pedri afb467f1ff Add InvalidD2DGeneratedPixelShaderDescriptorAttributeTargetAnalyzer 2023-10-02 03:22:02 +02:00
Sergio Pedri 821bc6ba0d Add MissingPixelShaderDescriptorOnPixelShaderAnalyzer 2023-10-01 15:40:18 +02:00
Sergio Pedri 3e88c1ca1d Add MissingAllowUnsafeBlocksCompilationOptionAnalyzer 2023-09-27 18:39:29 +02:00
Sergio Pedri e5daf558ec Enable assembly defaults, update analyzer 2023-09-27 15:03:06 +02:00
Sergio Pedri 9d5e412f7d Add InvalidEffectDisplayNameValueAnalyzer 2023-09-27 14:04:04 +02:00
Sergio Pedri 8cbb3c958e Add InvalidEffectIdValueAnalyzer 2023-09-27 14:04:04 +02:00
Sergio Pedri 75cb16384c Set EnforceExtendedAnalyzerRules in analyzers 2023-06-06 21:18:33 +02:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri 3fb94daaa2 Add diagnostic for missing [D2DInputCount] attribute 2022-10-07 16:12:31 -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 140aa10a12 Add diagnostic for invalid return type 2022-08-18 14:26:09 +02:00
Sergio Pedri c998002f90 Add diagnostics for [D2DPixelShaderSource] 2022-08-18 14:26:09 +02:00
Sergio Pedri 3515c4402b Add diagnostic for invalid D2D1 resource texture element type 2022-08-10 22:15:18 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri 53411903c1 Fix incorrect [D2DRequiresScenePosition] name in diagnostic 2022-08-09 00:22:05 +02:00
Sergio Pedri 21328f54a5 Add diagnostic for missing [D2DResourceTextureIndex] attribute 2022-08-08 15:45:45 +02:00
Sergio Pedri a3635b09d9 Add diagnostics for invalid [D2DResourceTextureIndex] uses 2022-08-08 15:45:45 +02:00
Sergio Pedri fdc69ed292 Add diagnostics for invalid resource texture setups 2022-08-08 15:45:44 +02:00
Sergio Pedri b51b002a3a Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
2022-08-08 01:33:38 +02:00
Sergio Pedri 55ad39b817 Tweak diagnostics, add SampleInputAtPosition checks too 2022-08-07 18:04:24 +02:00
Sergio Pedri 5777e17e03 Add diagnostic for missing [D2DRequiresScenePosition] 2022-08-07 17:59:33 +02:00
Sergio Pedri 7411c1fe0d Add diagnostics for [D2DCompileOptions] at assembly level 2022-05-24 22:10:15 +02:00
Sergio Pedri d75993107a Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
2022-05-22 15:50:28 +02:00
Sergio Pedri b4b8b76d2f Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode] 2022-05-22 01:50:14 +02:00
Sergio Pedri 0bfe836a4e Capture D2D1CompileOptions in source generator 2022-05-22 01:40:09 +02:00
Sergio Pedri 3b760f02d4 Enable generation for ID2D1Shader.LoadInputDescriptions API 2022-05-08 18:40:26 +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