mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-05 22:31:08 +00:00
Always perform barrier for depth image even if it's not pipeline-bound
This commit is contained in:
@@ -2838,7 +2838,7 @@ void VulkanReplay::BindOutputWindow(uint64_t id, bool depth)
|
||||
|
||||
DoPipelineBarrier(cmd, 1, &outw.bbBarrier);
|
||||
DoPipelineBarrier(cmd, 1, &outw.colBarrier[outw.curidx]);
|
||||
if(depth)
|
||||
if(outw.dsimg != VK_NULL_HANDLE)
|
||||
DoPipelineBarrier(cmd, 1, &outw.depthBarrier);
|
||||
|
||||
outw.depthBarrier.oldLayout = outw.depthBarrier.newLayout;
|
||||
|
||||
Reference in New Issue
Block a user