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>
Mon, 18 Oct 2021 19:15:23 +0000 (15:15 -0400)
commit303bf161fbe4f21bc044cd65798c10d539a54a96
tree148cc06a5b3f984fcce9568848d94361b6fc7b2f
parent0a48305f0e3ad4b6ff3afc64c5088d190491d226
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
(cherry picked from commit 06187ab8c572cc8227224841ffcc4660b90a8d39)
external/vulkancts/modules/vulkan/multiview/vktMultiViewRenderTests.cpp