VERY experimental Nintendo Switch 2 emulator
C++
gl_shader_cache: Properly implement asynchronous shaders
ReinUsesLispac0c2f8edc1b
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cppindex 58a4f0fb45..24f035c374 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() {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();}