Ubershaders: Support per-pixel lighting

This commit is contained in:
Stenzek committed 2017-07-30 17:43:59 +10:00
1 parent c8f31656cb
commit e968c191ff
12 files changed
+311 -303

No files matched your search

@@ -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;