Fix MultisampleRenderPassTest layout transitions
authorTony Barbour <tony@LunarG.com>
Wed, 28 Jun 2017 16:41:39 +0000 (10:41 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 10 Jul 2017 10:22:38 +0000 (06:22 -0400)
commit4e82d99e448dd22a697e3eff3b0fd1faf1e017c6
tree36280a99d99ed54913415c0fb96fd1b489ec2256
parent98697cdf733d4118704333e92b1cc36e6fcf1750
Fix MultisampleRenderPassTest layout transitions

Section 6.6 of the Vulkan spec says:

If vkCmdPipelineBarrier is called within a render pass instance, the
oldLayout and newLayout members of an element of pImageMemoryBarriers
must be equal

so move the layout transition in this test to be outside the renderpass

Affects:

dEQP-VK.renderpass.multisample_resolve.*

Components: Vulkan

VK-GL-CTS Issue: 540

Change-Id: Ifb61c1d00db9fa6042aa51d4955c8eb89f021f1e
external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleResolveTests.cpp