Image barrier

This commit is contained in:
saschawillems 2016-06-05 16:24:04 +02:00
parent 82a57c8ce9
commit 4c9c5478d4

View file

@ -330,7 +330,7 @@ public:
offScreenFrameBuf.depth.image,
VK_IMAGE_ASPECT_DEPTH_BIT,
VK_IMAGE_LAYOUT_UNDEFINED,
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL);
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);
VulkanExampleBase::flushCommandBuffer(layoutCmd, queue, true);