mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Ubershaders: Support per-pixel lighting
This commit is contained in:
@ -593,11 +593,8 @@ void PixelShaderCache::Shutdown()
|
||||
|
||||
bool PixelShaderCache::SetShader()
|
||||
{
|
||||
if (g_ActiveConfig.CanUseUberShaders() &&
|
||||
(g_ActiveConfig.bDisableSpecializedShaders || g_ActiveConfig.bForcePixelUberShaders))
|
||||
{
|
||||
if (g_ActiveConfig.bDisableSpecializedShaders || g_ActiveConfig.bForcePixelUberShaders)
|
||||
return SetUberShader();
|
||||
}
|
||||
|
||||
PixelShaderUid uid = GetPixelShaderUid();
|
||||
if (last_entry && uid == last_uid)
|
||||
|
Reference in New Issue
Block a user