Vulkan: Submit fewer command buffers in deferred EFB copies mode
This commit is contained in:
1 parent
8e2c063d62
commit
66b6e72c5e
4 files changed
+29
-6
No files matched your search
@@ -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