mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
Vulkan: Log when a swap chain resize is occurring
This may help us debug performance problems in the future.
This commit is contained in:
parent
4f01dad469
commit
ead65b0d8c
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ void Renderer::BindBackbuffer(const ClearColor& clear_color)
|
||||||
}
|
}
|
||||||
else if (res == VK_SUBOPTIMAL_KHR || res == VK_ERROR_OUT_OF_DATE_KHR)
|
else if (res == VK_SUBOPTIMAL_KHR || res == VK_ERROR_OUT_OF_DATE_KHR)
|
||||||
{
|
{
|
||||||
|
INFO_LOG(VIDEO, "Resizing swap chain due to suboptimal/out-of-date");
|
||||||
m_swap_chain->ResizeSwapChain();
|
m_swap_chain->ResizeSwapChain();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue