mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Vulkan: Simplify command buffer fence tracking
This commit is contained in:
parent
f3fadd7302
commit
427dd45151
11 changed files with 138 additions and 208 deletions
|
@ -251,8 +251,8 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
|||
|
||||
void VideoBackend::Shutdown()
|
||||
{
|
||||
if (g_command_buffer_mgr)
|
||||
g_command_buffer_mgr->WaitForGPUIdle();
|
||||
if (g_vulkan_context)
|
||||
vkDeviceWaitIdle(g_vulkan_context->GetDevice());
|
||||
|
||||
if (g_shader_cache)
|
||||
g_shader_cache->Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue