VideoConfig: Drop force vertex/pixel ubershader settings

This was mainly included for debugging, but could end up being confusing
for users, as well as polluting the GL program cache with a mix of uber
and specialized shaders if the option was changed.
This commit is contained in:
Stenzek
2017-07-31 23:21:38 +10:00
parent ed331918f0
commit d62dcd397d
10 changed files with 8 additions and 47 deletions

View File

@ -249,7 +249,7 @@ void VertexShaderCache::Shutdown()
bool VertexShaderCache::SetShader(D3DVertexFormat* vertex_format)
{
if (g_ActiveConfig.bDisableSpecializedShaders || g_ActiveConfig.bForceVertexUberShaders)
if (g_ActiveConfig.bDisableSpecializedShaders)
return SetUberShader(vertex_format);
VertexShaderUid uid = GetVertexShaderUid();