mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-12 16:19:44 -06:00
vk: Skip shader cache load if we're running interpreter only
This commit is contained in:
parent
4e160320ef
commit
9dde2bf04e
@ -1247,18 +1247,21 @@ void VKGSRender::on_init_thread()
|
||||
dlg->close();
|
||||
}
|
||||
|
||||
if (!m_overlay_manager)
|
||||
if (g_cfg.video.shadermode != shader_mode::interpreter_only)
|
||||
{
|
||||
m_frame->hide();
|
||||
m_shaders_cache->load(nullptr);
|
||||
m_frame->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
rsx::shader_loading_dialog_native dlg(this);
|
||||
if (!m_overlay_manager)
|
||||
{
|
||||
m_frame->hide();
|
||||
m_shaders_cache->load(nullptr);
|
||||
m_frame->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
rsx::shader_loading_dialog_native dlg(this);
|
||||
|
||||
// TODO: Handle window resize messages during loading on GPUs without OUT_OF_DATE_KHR support
|
||||
m_shaders_cache->load(&dlg);
|
||||
// TODO: Handle window resize messages during loading on GPUs without OUT_OF_DATE_KHR support
|
||||
m_shaders_cache->load(&dlg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user