mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Vulkan: Submit fewer command buffers in deferred EFB copies mode
This commit is contained in:
@ -611,7 +611,7 @@ bool FramebufferManager::PopulateColorReadbackTexture()
|
||||
{
|
||||
// Can't be in our normal render pass.
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
StateTracker::GetInstance()->OnReadback();
|
||||
StateTracker::GetInstance()->OnCPUEFBAccess();
|
||||
|
||||
// Issue a copy from framebuffer -> copy texture if we have >1xIR or MSAA on.
|
||||
VkRect2D src_region = {{0, 0}, {GetEFBWidth(), GetEFBHeight()}};
|
||||
@ -684,7 +684,7 @@ bool FramebufferManager::PopulateDepthReadbackTexture()
|
||||
{
|
||||
// Can't be in our normal render pass.
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
StateTracker::GetInstance()->OnReadback();
|
||||
StateTracker::GetInstance()->OnCPUEFBAccess();
|
||||
|
||||
// Issue a copy from framebuffer -> copy texture if we have >1xIR or MSAA on.
|
||||
VkRect2D src_region = {{0, 0}, {GetEFBWidth(), GetEFBHeight()}};
|
||||
|
Reference in New Issue
Block a user