mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Implement zcomploc on OpenGL4.2+
This commit is contained in:
parent
f693488c8a
commit
15b8ac64ef
9 changed files with 45 additions and 16 deletions
|
@ -539,7 +539,7 @@ void ProgramShaderCache::CreateHeader ( void )
|
|||
"%s\n"
|
||||
"%s\n"
|
||||
|
||||
, v==GLSLES3 ? "300 es" : v==GLSL_120 ? "120" : v==GLSL_130 ? "130" : "140"
|
||||
, v==GLSLES3 ? "300 es" : v==GLSL_120 ? "120" : v==GLSL_130 ? "130" : v==GLSL_140 ? "140" : "150"
|
||||
, v==GLSLES3 ? "precision highp float;" : ""
|
||||
, g_ActiveConfig.backend_info.bSupportsGLSLUBO && v<GLSL_140 ? "#extension GL_ARB_uniform_buffer_object : enable" : ""
|
||||
, v==GLSL_120 ? "attribute" : "in"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue