Fix layout transitions in dynamic_rendering tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 25 Oct 2021 22:25:16 +0000 (17:25 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Oct 2021 18:19:20 +0000 (13:19 -0500)
commit8bce4e7709f157d32f83148faea310122304b3c7
treeb1a6e1721e4869733565a2c8de88628b1aba7b61
parent3fc2e26c5707a0b209f26f15bf5ca83d0926137f
Fix layout transitions in dynamic_rendering tests

With dynamic rendering, we no longer have initial and final layout
transitions provided automatically as part of vkCmdBeginRendering() and
vkCmdEndRendering().  Instead, it's the responsibility of the client to
transition the images into and out of the layout passed to
vkCmdBeginRendering().  When translating from Vulkan 1.0 style
subpasses, this means we need to do a pipeline barrier before and after
rendering.

Affects:
dEQP-VK.renderpass_with_dynamic_rendering.*

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