VK_EXT_pageable_device_local_memory test coverage
authorPiers Daniell <pdaniell@nvidia.com>
Mon, 9 Aug 2021 15:50:12 +0000 (09:50 -0600)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 4 Feb 2022 20:27:27 +0000 (20:27 +0000)
commitbfa1e03a929d4313c08e04a8ec5f35555fc6caac
tree3e4e0129def4ce11c266bcb720fbb9cf9121f697
parent45e53a12da355ac212fac802a51ee5d6145d6a47
VK_EXT_pageable_device_local_memory test coverage

This CL adds basic support for the pageableDeviceLocalMemory feature. Normally
CTS enables all known features by default, but in this case we don't
enable pageableDeviceLocalMemory by default and just to targetting
testing with a variant of the extisting dEQP-VK.memory.allocation.*
tests.

This CL also adds coverage for vkSetDeviceMemoryPriorityEXT() by
extending the existing static VK_EXT_memory_priority test with a
dynamic variant that changes the memory priority after it has
been allocated.

New tests:

dEQP-VK.memory.pageable_allocation.*
dEQP-VK.memory.binding.priority_dynamic.*

Affects:

dEQP-VK.memory.allocation.*
dEQP-VK.memory.device_group_allocation.*
dEQP-VK.memory.binding.*

Components: Vulkan

VK-GL-CTS issue: 3060

Change-Id: Idb4e63556c8807ba2f636c90dab397f4d116223d
(cherry picked from commit f8b56ca1effc62c885bec677ba0ee55e2e43142a)
12 files changed:
android/cts/master/vk-master-2021-03-01/memory.txt
android/cts/master/vk-master/memory.txt
external/vulkancts/framework/vulkan/vkDeviceExtensions.inl
external/vulkancts/framework/vulkan/vkDeviceFeatures.cpp
external/vulkancts/framework/vulkan/vkMandatoryFeatures.inl
external/vulkancts/modules/vulkan/memory/vktMemoryAllocationTests.cpp
external/vulkancts/modules/vulkan/memory/vktMemoryAllocationTests.hpp
external/vulkancts/modules/vulkan/memory/vktMemoryBindingTests.cpp
external/vulkancts/modules/vulkan/memory/vktMemoryTests.cpp
external/vulkancts/mustpass/master/vk-default/memory.txt
external/vulkancts/scripts/src/extensions_data.txt
external/vulkancts/scripts/src/mandatory_features.txt