mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-05 10:42:39 +00:00
Ubershaders: Support per-pixel lighting
This commit is contained in:
parent
c8f31656cb
commit
e968c191ff
12 changed files with 311 additions and 303 deletions
Source/Core/VideoBackends/OGL
|
@ -223,7 +223,7 @@ void ProgramShaderCache::UploadConstants()
|
|||
|
||||
SHADER* ProgramShaderCache::SetShader(u32 primitive_type, const GLVertexFormat* vertex_format)
|
||||
{
|
||||
if (g_ActiveConfig.bDisableSpecializedShaders && g_ActiveConfig.CanUseUberShaders())
|
||||
if (g_ActiveConfig.bDisableSpecializedShaders)
|
||||
return SetUberShader(primitive_type, vertex_format);
|
||||
|
||||
SHADERUID uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue