Update D2D1 diagnostic descriptors for consistency

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 19:31:47 +01:00
1 親 e08a0a3b33
コミット ade3a1e453
2ファイル変更
+8 -8

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

@@ -250,14 +250,14 @@ partial class D2DPixelShaderDescriptorGenerator
if (info is HlslBytecodeInfo.Win32Error win32Error)
{
diagnostic = DiagnosticInfo.Create(
EmbeddedBytecodeFailedWithWin32Exception,
HlslBytecodeFailedWithWin32Exception,
structDeclarationSymbol,
[structDeclarationSymbol, win32Error.HResult, win32Error.Message]);
}
else if (info is HlslBytecodeInfo.CompilerError fxcError)
{
diagnostic = DiagnosticInfo.Create(
EmbeddedBytecodeFailedWithFxcCompilationException,
HlslBytecodeFailedWithFxcCompilationException,
structDeclarationSymbol,
[structDeclarationSymbol, fxcError.Message]);
}