Check for visibility in external_memory_host test
authorMichael Chock <mchock@nvidia.com>
Wed, 2 Mar 2022 17:16:34 +0000 (09:16 -0800)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 24 Mar 2022 19:48:59 +0000 (19:48 +0000)
commitb0b848de14717163745b3e03717c21897673ef1a
treec047b158742c974d6f89af27aed908b0e3a75cc9
parent9c5e656b72ff32c22c92d42c909026d3c791c6b2
Check for visibility in external_memory_host test

The external_memory_host synchronization test uses mapMemory when
validating the contents of the external memory, but does not ensure that
the memory is host-visible. When choosing a memory type for the
host-visible memory, additionally check the HOST_VISIBLE flag.

Affects:

dEQP-VK.memory.external_memory_host.synchronization.synchronization

Components: Vulkan

VK-GL-CTS issue: 3547

Change-Id: I0cff8f42debedd01db1760881a6f5f9481ea39bf
external/vulkancts/modules/vulkan/memory/vktMemoryExternalMemoryHostTests.cpp