Fix requirements tests for multiplane images
authorJames Fitzpatrick <james.fitzpatrick@imgtec.com>
Wed, 8 Dec 2021 12:17:29 +0000 (12:17 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 7 Jan 2022 17:08:12 +0000 (17:08 +0000)
commit9d48003e29961be9a0c49fde7e539605de31e3d2
treee0b3dd775788e5f93934d3bd0bce6e1e318c4729
parent38bd47fd3b15139d9bf62b6d02fd647ed409218e
Fix requirements tests for multiplane images

The memory requirements tests for multiplane images would previously
assume that bits were not sparsely set in memoryTypeBits.

This could lead to the tests assuming that an implementation was
returning a lazily allocated memory type for an image without
transient attachment set.

Affects: dEQP-VK.memory.requirements.*multiplane_image*

Components: Vulkan

VK-GL-CTS issue: 3405

Change-Id: Ic1e56d7412ac413da907059c79b3f7064b3c664b
external/vulkancts/modules/vulkan/memory/vktMemoryRequirementsTests.cpp