mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-10 15:55:45 +00:00
Don't transition to UNDEFINED if undoing implicit barriers. Closes #1394
This commit is contained in:
@@ -998,7 +998,8 @@ bool WrappedVulkan::Serialise_vkEndCommandBuffer(SerialiserType &ser, VkCommandB
|
||||
|
||||
barrier.subresourceRange = it->second.subresourceRange;
|
||||
|
||||
if(barrier.oldLayout != barrier.newLayout)
|
||||
if(barrier.oldLayout != barrier.newLayout &&
|
||||
barrier.newLayout != VK_IMAGE_LAYOUT_UNDEFINED)
|
||||
revertBarriers.push_back(barrier);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user