summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-07-11 23:26:13 -0300
committerGravatar ameerj2021-07-22 21:51:40 -0400
commit8c166c68d46d160162caa9b588f1e762c57e52f4 (patch)
tree361f4ade534b0b003e1151e873703ef1198ccbd9 /src
parentshader_recompiler, video_core: Resolve clang errors (diff)
downloadyuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.gz
yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.xz
yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.zip
gl_shader_cache: Properly implement asynchronous shaders
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 58a4f0fb4..24f035c37 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -318,7 +318,7 @@ GraphicsPipeline* ShaderCache::CurrentGraphicsPipeline() {
318 SetXfbState(graphics_key.xfb_state, regs); 318 SetXfbState(graphics_key.xfb_state, regs);
319 } 319 }
320 if (current_pipeline && graphics_key == current_pipeline->Key()) { 320 if (current_pipeline && graphics_key == current_pipeline->Key()) {
321 return current_pipeline->IsBuilt() ? current_pipeline : nullptr; 321 return BuiltPipeline(current_pipeline);
322 } 322 }
323 return CurrentGraphicsPipelineSlowPath(); 323 return CurrentGraphicsPipelineSlowPath();
324} 324}