diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2011-07-29 22:18:11 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2011-07-29 22:18:11 +0000 |
| commit | 0655ee571d49493a2018ea819ebbb6eb9208fefd (patch) | |
| tree | a0bcd5490a3f7c5e8120a8bb17fb72aa45d95484 /Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp | |
| parent | 81807e3f2cac43ad89b69fa1f77fcb3c85c0da53 (diff) | |
Shader compilation error message modified to contain some helpful information for noobs (includes a reference to the full bad shader dump).
Removed the "Hide Shader Errors" option; hide shader errors if panic handlers are disabled now.
Removed superfluous error messages about shader compilations; display only one error message instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7688 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp index c168ffc69b..f76837837d 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/PixelShaderCache.cpp @@ -375,14 +375,6 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) u8 *bytecode = 0; int bytecodelen = 0; if (!D3D::CompilePixelShader(code, (int)strlen(code), &bytecode, &bytecodelen)) { - if (g_ActiveConfig.bShowShaderErrors) - { - PanicAlert("Failed to compile Pixel Shader:\n\n%s", code); - static int counter = 0; - char szTemp[MAX_PATH]; - sprintf(szTemp, "%sBADps_%04i.txt", File::GetUserPath(D_DUMP_IDX).c_str(), counter++); - SaveData(szTemp, code); - } GFX_DEBUGGER_PAUSE_AT(NEXT_ERROR, true); return false; } |
