mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove the rest of ShaderDebugging.
Without UID checking, it's basically a no-op that disables shader cache and stores the shader source code (without ever reading it back).
This commit is contained in:
@ -79,7 +79,6 @@ void VideoConfig::Load(const std::string& ini_file)
|
||||
settings->Get("TexFmtOverlayCenter", &bTexFmtOverlayCenter, 0);
|
||||
settings->Get("WireFrame", &bWireFrame, 0);
|
||||
settings->Get("DisableFog", &bDisableFog, 0);
|
||||
settings->Get("EnableShaderDebugging", &bEnableShaderDebugging, false);
|
||||
settings->Get("BorderlessFullscreen", &bBorderlessFullscreen, false);
|
||||
|
||||
settings->Get("SWZComploc", &bZComploc, true);
|
||||
@ -120,18 +119,6 @@ void VideoConfig::Load(const std::string& ini_file)
|
||||
interface->Get("UsePanicHandlers", &bTmp, true);
|
||||
SetEnableAlert(bTmp);
|
||||
|
||||
// Shader Debugging causes a huge slowdown and it's easy to forget about it
|
||||
// since it's not exposed in the settings dialog. It's only used by
|
||||
// developers, so displaying an obnoxious message avoids some confusion and
|
||||
// is not too annoying/confusing for users.
|
||||
//
|
||||
// XXX(delroth): This is kind of a bad place to put this, but the current
|
||||
// VideoCommon is a mess and we don't have a central initialization
|
||||
// function to do these kind of checks. Instead, the init code is
|
||||
// triplicated for each video backend.
|
||||
if (bEnableShaderDebugging)
|
||||
OSD::AddMessage("Warning: Shader Debugging is enabled, performance will suffer heavily", 15000);
|
||||
|
||||
VerifyValidity();
|
||||
}
|
||||
|
||||
@ -299,7 +286,6 @@ void VideoConfig::Save(const std::string& ini_file)
|
||||
settings->Set("TexFmtOverlayCenter", bTexFmtOverlayCenter);
|
||||
settings->Set("Wireframe", bWireFrame);
|
||||
settings->Set("DisableFog", bDisableFog);
|
||||
settings->Set("EnableShaderDebugging", bEnableShaderDebugging);
|
||||
settings->Set("BorderlessFullscreen", bBorderlessFullscreen);
|
||||
|
||||
settings->Set("SWZComploc", bZComploc);
|
||||
|
Reference in New Issue
Block a user