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