summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2016-02-28 10:01:25 +1300
committerScott Mansell <phiren@gmail.com>2016-06-26 16:25:11 +1200
commit2f134c5c36c3a9c3c7a618635d98d0bf2191b9f2 (patch)
tree245132a692350e0d43bd7a5f39e2782670e9ee2d /Source/Core/VideoCommon/VideoConfig.cpp
parentebe5fd0b36556a39ac25052966261b56d90ea1ae (diff)
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).
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 753a65f9eb..c19528d7d9 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -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);