Fix lossy layout transitions in modifier tests
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 16 Mar 2022 20:07:07 +0000 (13:07 -0700)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 7 Apr 2022 17:23:49 +0000 (17:23 +0000)
commitae59580dc6edebd36028fea3a19f3def1de1d915
tree11c4d8a5502b5a664f8f5ea5057eb6a5baa7dc21
parentee42cc139ca5b8780bc7d92df3d005cf0e7a199b
Fix lossy layout transitions in modifier tests

The test performs several layout transitions that use
VK_IMAGE_LAYOUT_UNDEFINED for the initial layout. The spec says that
these transitions cause images to become undefined. The test expects
defined data from these images however. Replace these initial layouts
with layouts that don't cause data loss.

Components: Vulkan

VK-GL-CTS issue: 3575

Affects: dEQP-VK.drm_format_modifiers.export_import.*
Change-Id: I5e57dd197d461fba800d50239803d525c5334ac4
external/vulkancts/modules/vulkan/modifiers/vktModifiersTests.cpp