Add external memeory tests for the VK_EXT_device_memory_report extension
authorYiwei Zhang <zzyiwei@google.com>
Thu, 11 Jun 2020 22:31:10 +0000 (15:31 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 18 Nov 2020 07:58:37 +0000 (02:58 -0500)
commitee3962c8d49346cfa838b4f11cc2d23bfa076dba
treec1bfa0342f8f284dac734529f4e681a5b8f49a13
parente0f35de2d7472ac713414a5078dcb7cd69f1f6c5
Add external memeory tests for the VK_EXT_device_memory_report extension

This test allocates an exportable memory and grabs the native handle
from it, then it imports the native handle twice, and verifies that the
allocate/free events are still emitted for the exportable memory as well
as verifying the proper timing of import/unimport events and the
correctness of all the callback data.

Components: Vulkan

VK-GL-CTS issue: 2266

New tests: dEQP-VK.memory.device_memory_report.external_memory.*

Change-Id: I42c08f775224735f65ceb4f3c8a77ea43d3a7ed3
android/cts/master/vk-master-2020-03-01.txt
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/memory/CMakeLists.txt
external/vulkancts/modules/vulkan/memory/vktMemoryDeviceMemoryReportTests.cpp
external/vulkancts/mustpass/master/vk-default.txt