Minor tweaks to DiagnosticInfo
このコミットが含まれているのは:
1 親
cea25fbd4d
コミット
e27b7e4379
4ファイル変更
+29
-8
検索条件に一致するファイルはありません
@@ -124,14 +124,17 @@ partial class ComputeShaderDescriptorGenerator
|
||||
diagnostic = DiagnosticInfo.Create(
|
||||
HlslBytecodeFailedWithWin32Exception,
|
||||
structDeclarationSymbol,
|
||||
[structDeclarationSymbol, win32Error.HResult, win32Error.Message]);
|
||||
structDeclarationSymbol,
|
||||
win32Error.HResult,
|
||||
win32Error.Message);
|
||||
}
|
||||
else if (info is HlslBytecodeInfo.CompilerError dxcError)
|
||||
{
|
||||
diagnostic = DiagnosticInfo.Create(
|
||||
HlslBytecodeFailedWithDxcCompilationException,
|
||||
structDeclarationSymbol,
|
||||
[structDeclarationSymbol, dxcError.Message]);
|
||||
structDeclarationSymbol,
|
||||
dxcError.Message);
|
||||
}
|
||||
|
||||
if (diagnostic is not null)
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする