Skip to content
Permalink
Browse files

vulkan: ApplyRenderPassMerge; Add copy / blit destinations to touched…

… buffers.
  • Loading branch information
hrydgard committed Nov 30, 2019
1 parent 714205d commit fc34a93ac2a21bd5ac5d0d6beff63c794e7630f6
Showing with 2 additions and 0 deletions.
  1. +2 −0 ext/native/thin3d/VulkanQueueRunner.cpp
@@ -789,11 +789,13 @@ void VulkanQueueRunner::ApplyRenderPassMerge(std::vector<VKRStep *> &steps) {
if (steps[j]->copy.src == fb || steps[j]->copy.dst == fb) {
goto done_fb;
}
touchedFramebuffers.insert(steps[j]->copy.dst);
break;
case VKRStepType::BLIT:
if (steps[j]->blit.src == fb || steps[j]->blit.dst == fb) {
goto done_fb;
}
touchedFramebuffers.insert(steps[j]->blit.dst);
break;
case VKRStepType::READBACK:
// Not sure this has much effect, when executed READBACK is always the last step

0 comments on commit fc34a93

Please sign in to comment.
You can’t perform that action at this time.