diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-16 08:37:35 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:23:40 +0100 |
commit | df0f31f44ea4e6945031a84f4bed7f231649fdb4 (patch) | |
tree | 91171ce20b333d027f7aa136fe4f2431112f76d8 /src/video_core/renderer_opengl | |
parent | gl_shader_disk_cache: Pass core system as argument and guard against games without title ids (diff) | |
download | yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar.gz yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar.bz2 yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar.lz yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar.xz yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.tar.zst yuzu-df0f31f44ea4e6945031a84f4bed7f231649fdb4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index b2b5c2aa5..7eeae082a 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -405,6 +405,7 @@ CachedProgram ShaderCacheOpenGL::GeneratePrecompiledProgram( CachedProgram shader = std::make_shared<OGLProgram>(); shader->handle = glCreateProgram(); + glProgramParameteri(shader->handle, GL_PROGRAM_SEPARABLE, GL_TRUE); glProgramBinary(shader->handle, dump.binary_format, dump.binary.data(), static_cast<GLsizei>(dump.binary.size())); |