Share prettify logic for FXC error messages with generator
このコミットが含まれているのは:
1 親
50f3b74d3c
コミット
44849d5d3e
3ファイル変更
+23
-26
検索条件に一致するファイルはありません
@@ -174,14 +174,14 @@ partial class D2DPixelShaderSourceGenerator
|
||||
D2DPixelShaderSourceCompilationFailedWithWin32Exception,
|
||||
sourceInfo.MethodName,
|
||||
e.HResult,
|
||||
ID2D1ShaderGenerator.LoadBytecode.FixupExceptionMessage(e.Message));
|
||||
D3DCompiler.PrettifyFxcErrorMessage(e.Message));
|
||||
}
|
||||
catch (FxcCompilationException e)
|
||||
{
|
||||
diagnostic = DeferredDiagnosticInfo.Create(
|
||||
D2DPixelShaderSourceCompilationFailedWithFxcCompilationException,
|
||||
sourceInfo.MethodName,
|
||||
ID2D1ShaderGenerator.LoadBytecode.FixupExceptionMessage(e.Message));
|
||||
D3DCompiler.PrettifyFxcErrorMessage(e.Message));
|
||||
}
|
||||
|
||||
End:
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする