Browse Source

gl_shader_cache: Properly implement asynchronous shaders

nce_cpp
ReinUsesLisp 5 years ago
committed by ameerj
parent
commit
ac0c2f8edc
  1. 2
      src/video_core/renderer_opengl/gl_shader_cache.cpp

2
src/video_core/renderer_opengl/gl_shader_cache.cpp

@ -318,7 +318,7 @@ GraphicsPipeline* ShaderCache::CurrentGraphicsPipeline() {
SetXfbState(graphics_key.xfb_state, regs);
}
if (current_pipeline && graphics_key == current_pipeline->Key()) {
return current_pipeline->IsBuilt() ? current_pipeline : nullptr;
return BuiltPipeline(current_pipeline);
}
return CurrentGraphicsPipelineSlowPath();
}

Loading…
Cancel
Save