Fix invalid layout transitions in some dynamic rendering tests
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 29 Sep 2021 14:04:22 +0000 (08:04 -0600)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 1 Oct 2021 23:11:28 +0000 (23:11 +0000)
commit06187ab8c572cc8227224841ffcc4660b90a8d39
treedddd3466a361a88c497e14cd9a0579c025813928
parentf654a58b74d3f278c43e7e25cdc5d2d29e1d7abf
Fix invalid layout transitions in some dynamic rendering tests

Some of the dynamic rendering tests do an image layout transition
from uninitialized when the image is already in use. This can lead
to corruption of the image content.

This CL removes an unnecessary barrier from the
dEQP-VK.multiview.dynamic_rendering.readback* tests and fixes
a barrier with the dEQP-VK.multiview.dynamic_rendering.depth.*
and dEQP-VK.multiview.dynamic_rendering.stencil.* tests.

Affects:

dEQP-VK.multiview.dynamic_rendering.depth.*
dEQP-VK.multiview.dynamic_rendering.stencil.*
dEQP-VK.multiview.dynamic_rendering.readback*

Components: Vulkan

VK-GL-CTS issue: 3164

Change-Id: Ib0847839528909337001d32bbde59c7e979ec9e9
external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp