Share HlslBytecodeInfo model across D3D12/D2D1 generators
このコミットが含まれているのは:
1 親
fa8d9446cd
コミット
2c8d0d2385
8ファイル変更
+11
-47
検索条件に一致するファイルはありません
@@ -160,7 +160,7 @@ partial class IShaderGenerator
|
||||
}
|
||||
catch (DxcCompilationException e)
|
||||
{
|
||||
return new HlslBytecodeInfo.DxcError(FixupExceptionMessage(e.Message));
|
||||
return new HlslBytecodeInfo.CompilerError(FixupExceptionMessage(e.Message));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ partial class IShaderGenerator
|
||||
structDeclarationSymbol,
|
||||
new object[] { structDeclarationSymbol, win32Error.HResult, win32Error.Message });
|
||||
}
|
||||
else if (info is HlslBytecodeInfo.DxcError dxcError)
|
||||
else if (info is HlslBytecodeInfo.CompilerError dxcError)
|
||||
{
|
||||
diagnostic = DiagnosticInfo.Create(
|
||||
EmbeddedBytecodeFailedWithDxcCompilationException,
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする