mirror of
https://git.tardis.systems/mirrors/yuzu
synced 2025-11-15 21:44:09 +01:00
gl_shader_cache: Properly implement asynchronous shaders
This commit is contained in:
parent
49946cf780
commit
8c166c68d4
@ -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…
Reference in New Issue
Block a user