Add HlslBytecodeSyntaxProcessor shared helper type
このコミットが含まれているのは:
1 親
ef821be2b2
コミット
2a519c3f51
11ファイル変更
+284
-22
検索条件に一致するファイルはありません
+3
-3
@@ -265,7 +265,7 @@ partial class D2DPixelShaderDescriptorGenerator
|
||||
else if (info is HlslBytecodeInfo.CompilerError fxcError)
|
||||
{
|
||||
diagnostic = DiagnosticInfo.Create(
|
||||
HlslBytecodeFailedWithFxcCompilationException,
|
||||
HlslBytecodeFailedWithCompilationException,
|
||||
structDeclarationSymbol,
|
||||
structDeclarationSymbol,
|
||||
fxcError.Message);
|
||||
@@ -304,14 +304,14 @@ partial class D2DPixelShaderDescriptorGenerator
|
||||
if (!hasD2DRequiresDoublePrecisionSupportAttribute && success.RequiresDoublePrecisionSupport)
|
||||
{
|
||||
diagnostics.Add(DiagnosticInfo.Create(
|
||||
MissingD2DRequiresDoublePrecisionSupportAttribute,
|
||||
MissingRequiresDoublePrecisionSupportAttribute,
|
||||
structDeclarationSymbol,
|
||||
structDeclarationSymbol));
|
||||
}
|
||||
else if (hasD2DRequiresDoublePrecisionSupportAttribute && !success.RequiresDoublePrecisionSupport)
|
||||
{
|
||||
diagnostics.Add(DiagnosticInfo.Create(
|
||||
UnnecessaryD2DRequiresDoublePrecisionSupportAttribute,
|
||||
UnnecessaryRequiresDoublePrecisionSupportAttribute,
|
||||
attributeData!.GetLocation(),
|
||||
structDeclarationSymbol));
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする