diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-24 03:09:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-24 03:09:36 +0100 |
commit | 69b3f98d3a579f1889b50a6dfc12429d6f920859 (patch) | |
tree | 22a985f5f33d7ed79e0048071d3bc86aabfe3a8b /src/video_core/renderer_opengl/gl_shader_cache.cpp | |
parent | Merge pull request #1741 from lioncash/kbd (diff) | |
parent | shader_cache: Only lock covered instructions. (diff) | |
download | yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar.gz yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar.bz2 yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar.lz yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar.xz yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.tar.zst yuzu-69b3f98d3a579f1889b50a6dfc12429d6f920859.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 a85a7c0c5..038b25c75 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -84,6 +84,7 @@ CachedShader::CachedShader(VAddr addr, Maxwell::ShaderProgram program_type) } entries = program_result.second; + shader_length = entries.shader_length; if (program_type != Maxwell::ShaderProgram::Geometry) { OGLShader shader; |