diff options
Diffstat (limited to 'src')
| -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( | |||
| 405 | 405 | ||
| 406 | CachedProgram shader = std::make_shared<OGLProgram>(); | 406 | CachedProgram shader = std::make_shared<OGLProgram>(); |
| 407 | shader->handle = glCreateProgram(); | 407 | shader->handle = glCreateProgram(); |
| 408 | glProgramParameteri(shader->handle, GL_PROGRAM_SEPARABLE, GL_TRUE); | ||
| 408 | glProgramBinary(shader->handle, dump.binary_format, dump.binary.data(), | 409 | glProgramBinary(shader->handle, dump.binary_format, dump.binary.data(), |
| 409 | static_cast<GLsizei>(dump.binary.size())); | 410 | static_cast<GLsizei>(dump.binary.size())); |
| 410 | 411 | ||