Bit of cleanup. Clean up my massive hack in the ShaderManagerFiles. Almost feature parity with Nvidia CG now I think. Just need to do Alpha test with Dual source blending now.

This commit is contained in:
Ryan Houdek committed 2011-12-08 03:20:31 -06:00
1 parent 1201988fe4
commit cecc3c3873
6 files changed
+52 -40

No files matched your search

@@ -80,10 +80,11 @@ void PixelShaderCache::Init()
pCompilePixelShader = CompileGLSLPixelShader;
// Should this be set here?
if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_ARB_shading_language_420pack") != NULL)
g_ActiveConfig.backend_info.bSupportsGLSLBinding = true;
g_Config.backend_info.bSupportsGLSLBinding = true;
// This bit doesn't quite work yet, always set to false
//if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_ARB_separate_shader_objects") != NULL)
g_ActiveConfig.backend_info.bSupportsGLSLLocation = false;
g_Config.backend_info.bSupportsGLSLLocation = false;
UpdateActiveConfig();
}
else
{