Fix layout transitions in dynamic_rendering tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 25 Oct 2021 22:25:16 +0000 (17:25 -0500)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 29 Oct 2021 22:05:57 +0000 (22:05 +0000)
commit22c93e722d3e400dadd00016fc3d1c2468874588
tree6f418cc8a5871286ad39698ea4635ffbd5c00037
parentf8238c583766b9478944f75a9785c00a6f3453fe
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
get the images into 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.

Components: Vulkan

VK-GL-CTS Issue: 3251

Affects: dEQP-VK.renderpass_with_dynamic_rendering.*

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