Share HlslBytecodeInfo model across D3D12/D2D1 generators

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-14 00:35:04 +02:00
1 親 fa8d9446cd
コミット 2c8d0d2385
8ファイル変更
+11 -47

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

+2 -2
ファイルの表示
@@ -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,