mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
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:
parent
ed331918f0
commit
d62dcd397d
10 changed files with 8 additions and 47 deletions
|
@ -593,7 +593,7 @@ void PixelShaderCache::Shutdown()
|
|||
|
||||
bool PixelShaderCache::SetShader()
|
||||
{
|
||||
if (g_ActiveConfig.bDisableSpecializedShaders || g_ActiveConfig.bForcePixelUberShaders)
|
||||
if (g_ActiveConfig.bDisableSpecializedShaders)
|
||||
return SetUberShader();
|
||||
|
||||
PixelShaderUid uid = GetPixelShaderUid();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue