vk: Skip shader cache load if we're running interpreter only
This commit is contained in:
@@ -1247,6 +1247,8 @@ void VKGSRender::on_init_thread()
|
|||||||
dlg->close();
|
dlg->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_cfg.video.shadermode != shader_mode::interpreter_only)
|
||||||
|
{
|
||||||
if (!m_overlay_manager)
|
if (!m_overlay_manager)
|
||||||
{
|
{
|
||||||
m_frame->hide();
|
m_frame->hide();
|
||||||
@@ -1260,6 +1262,7 @@ void VKGSRender::on_init_thread()
|
|||||||
// TODO: Handle window resize messages during loading on GPUs without OUT_OF_DATE_KHR support
|
// TODO: Handle window resize messages during loading on GPUs without OUT_OF_DATE_KHR support
|
||||||
m_shaders_cache->load(&dlg);
|
m_shaders_cache->load(&dlg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VKGSRender::on_exit()
|
void VKGSRender::on_exit()
|
||||||
|
|||||||
Reference in New Issue
Block a user