mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
ac95d0ff48
* If we have a renderpass that we stop replaying at subpass 0, we want to pretend that the image is preserved as it was at that point - layout and all. However since we're replaying with the original renderpass any subpass transitions and finalLayout transitions will take effect. When we end any active RP during vkEndCommandBuffer, we then undo any of these implicit transitions to put the image back as it was.