Resolve some more validation layer issues. (#1643)
This commit is contained in:
committed by
GitHub
parent
14d048e9bf
commit
fee04df943
@@ -188,7 +188,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
commandBuffer.endRenderPass();
|
||||
|
||||
vk::ImageMemoryBarrier prePresentBarrier( vk::AccessFlagBits::eColorAttachmentWrite,
|
||||
vk::AccessFlagBits::eMemoryRead,
|
||||
{},
|
||||
vk::ImageLayout::eColorAttachmentOptimal,
|
||||
vk::ImageLayout::ePresentSrcKHR,
|
||||
VK_QUEUE_FAMILY_IGNORED,
|
||||
|
||||
Reference in New Issue
Block a user