Add MissingD2DCompileOptionsOnD2DPixelShaderSourceMethodAnalyzer

このコミットが含まれているのは:
Sergio Pedri committed 2024-01-06 23:28:27 +01:00
1 親 5cdb71684c
コミット 8c061c5b9e
3ファイル変更
+57 -9

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -42,7 +42,7 @@ public sealed partial class D2DPixelShaderSourceGenerator : IIncrementalGenerato
string methodName = methodSymbol.Name;
string? invalidReturnType = Execute.GetInvalidReturnType(methodSymbol);
string hlslSource = Execute.GetHlslSource(diagnostics, methodSymbol);
D2D1CompileOptions compileOptions = Execute.GetCompileOptions(diagnostics, methodSymbol);
D2D1CompileOptions compileOptions = Execute.GetCompileOptions(methodSymbol);
// For the shader profile, reuse the same logic as in D2D1PixelShaderDescriptorGenerator
D2D1ShaderProfile? requestedShaderProfile = Execute.GetShaderProfile(methodSymbol);