mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Vulkan: Submit fewer command buffers in deferred EFB copies mode
This commit is contained in:
parent
8e2c063d62
commit
66b6e72c5e
4 changed files with 29 additions and 6 deletions
|
@ -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()}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue