コミットグラフ
119 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri bddd2a395c Add generator support for struct instance methods 2022-10-02 16:09:46 +02:00
Sergio Pedri 5ef4304489 Bump Roslyn dependencies to 4.4.0-2.final
Also remove explicit NuGet feed
2022-09-19 20:06:38 +02:00
Sergio Pedri ff04ee384c Minor code tweaks 2022-09-18 14:38:10 +02:00
Sergio Pedri c7583eb3c7 Minor tweaks and improvements to ID2D1ShaderGenerator 2022-09-18 14:22:21 +02:00
Sergio Pedri a205efe6fa Remove symbols from IShaderGenerator pipeline 2022-09-17 20:35:38 +02:00
Sergio Pedri 9eac3c779d Refactor diagnostic models to be properly equatable 2022-09-17 17:58:44 +02:00
Sergio Pedri bdaf402a4c Add aggregate model for D2D1PixelShaderSourceInfo 2022-09-17 16:54:11 +02:00
Sergio Pedri d62c459633 Remove symbols from ID2D1ShaderGenerator pipeline 2022-09-17 16:43:13 +02:00
Sergio Pedri 87f2e04ca0 Make all models directly equatable 2022-09-17 14:48:33 +02:00
Sergio Pedri f27e98f2fa Add new InvalidD2DResourceTextureIndexUseAnalyzer analyzer 2022-09-17 13:11:14 +02:00
Sergio Pedri 5204402c49 Add new InvalidAssemblyLevelCompileOptionsAnalyzer analyzer 2022-09-17 13:07:21 +02:00
Sergio Pedri 65ee05bf10 Move D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor 2022-09-17 12:59:16 +02:00
Sergio Pedri 080011fe8f Share raw multiline string literal formatting logic 2022-09-17 12:58:01 +02:00
Sergio Pedri b45629b839 Remove symbols from D2DPixelShaderSourceGenerator pipeline 2022-09-16 23:19:17 +02:00
Sergio Pedri 5cd53f3077 Remove conditional paths for raw multiline strings 2022-09-16 23:03:35 +02:00
Sergio Pedri a2872e3626 Bump Roslyn to 4.4 2022-09-16 22:08:25 +02:00
Sergio Pedri a7ec9288bc Use ForAttributeWithMetadataName in D2DPixelShaderSourceGenerator 2022-09-16 21:52:28 +02:00
Sergio Pedri a282c19a7a Remove unnecessary warning suppressions 2022-09-16 21:52:28 +02:00
Sergio Pedri 4a26e8ec2a Bump generators to Roslyn 4.3.0 2022-09-16 21:52:28 +02:00
Sergio Pedri a34d70d280 Move d2d1effecthelpers.hlsli header to UTF8 string literal 2022-09-16 10:38:38 -07:00
Sergio Pedri f41ce77acd Move [UnscopedRef] to be shared with all projects 2022-09-16 10:38:38 -07:00
Sergio Pedri 579e9786e9 Use .g.cs suffix for all generated files 2022-09-06 07:57:05 +02:00
Sergio Pedri 44bf98cfa0 Add D2D1ResourceTextureUninitializedFieldDiagnosticSuppressor 2022-09-03 23:34:52 +02:00
Sergio Pedri 74a7c1e3e5 Cast to Bool when loading bool-s in dispatch data loaders 2022-08-27 23:04:13 +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 8bd2f80eae Add cast intrinsics to source generators 2022-08-27 01:49:53 +02:00
Sergio Pedri 5930baf69a Fix method name in generated filename hints 2022-08-18 14:26:10 +02:00
Sergio Pedri 1738f36455 Rename [D2DEmbeddedBytecode] to [D2DShaderProfile] 2022-08-18 14:26:10 +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 51f2642e80 Add [StringSyntax] to [D2DPixelShaderSource] parameter 2022-08-18 14:26:09 +02:00
Sergio Pedri 87768dc2b4 Add new models for shader methods, update generators 2022-08-18 14:26:09 +02:00
Sergio Pedri 4e6f4f55d4 Initial implementation of generator for shader methods 2022-08-18 14:26:09 +02:00
Sergio Pedri ddc625fe13 Fix incorrect diagnostic in resource texture index validation 2022-08-15 15:01:17 +02:00
Sergio Pedri 3515c4402b Add diagnostic for invalid D2D1 resource texture element type 2022-08-10 22:15:18 +02:00
Sergio Pedri 97a87500e2 Update D2D1 mappings for generic resource texture types 2022-08-10 22:15:18 +02:00
Sergio Pedri 3471d6233b Make D2D1 resource texture types generic 2022-08-10 22:15:18 +02:00
Sergio Pedri dc5260ea42 Match for Float4 return for D2D entry point 2022-08-10 15:25:07 +02:00
Sergio Pedri ae23529485 Remove some HLSL rewriting duplicated code 2022-08-09 17:37:55 +02:00
Sergio Pedri 945f6514b8 Update HLSL rewriters to use new Sample APIs 2022-08-09 17:37:55 +02:00
Sergio Pedri 0dd0bd587a Move known samplers to HlslKnownMethods type 2022-08-09 17:37:55 +02:00
Sergio Pedri 4edc0dc3c3 Use new extension to check [SkipLocalsInit] accessibility 2022-08-09 16:11:25 +02:00
Sergio Pedri 3e6aedaed1 Move StaticFieldRewriter to shared file 2022-08-09 13:37:20 +02:00
Sergio Pedri 7e5e695c2a Move ShaderSourceRewriter to shared file 2022-08-09 13:25:22 +02:00
Sergio Pedri baffb8fccb Move HlslSourceRewriter to shared file 2022-08-09 12:54:14 +02:00
Sergio Pedri 9df9c57a67 Move NeedsD2DRequiresScenePositionAttribute down 2022-08-09 12:41:54 +02:00
Sergio Pedri 71f148fc1a Move HlslSourceRewriter.Diagnostics to shared file 2022-08-09 12:38:27 +02:00
Sergio Pedri 3e3d7fa36f Implement HLSL rewriting for resource texture size properties 2022-08-09 00:33:07 +02:00
Sergio Pedri 30fcb8675d Implement HLSL rewriting for resource texture indexers 2022-08-09 00:22:27 +02:00
Sergio Pedri 53411903c1 Fix incorrect [D2DRequiresScenePosition] name in diagnostic 2022-08-09 00:22:05 +02:00