Fix device_memory_report test
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Thu, 21 Jul 2022 10:23:03 +0000 (12:23 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 2 Sep 2022 23:26:19 +0000 (23:26 +0000)
commit3fd051fee7f0caad0d85b8c7de44f6fc4f1ce3f4
treedb41446d83e0b3e1dd64af4463f633ccc43e43eb
parent9a9d57569b39a167b5c939b727aa0c8fa07d4bf4
Fix device_memory_report test

allocation_failed test for VK_EXT_device_memory_report attempts to
allocate UINT64_MAX bytes of memory in order to deliberately trigger
an allocation failure. However, vkAllocateMemory also has VU in which
allocationSize must be less than or equal to
VkPhysicalDeviceMemoryProperties::memoryHeaps[memindex].size .

VK-GL-CTS issue: 3775

Components: Vulkan

Affects:
dEQP-VK.memory.device_memory_report.vk_device_memory.allocation_failed

Change-Id: I0b9db1beb1e7b01d369d5ee6bbfb93c2eb3e1c97
external/vulkancts/modules/vulkan/memory/vktMemoryDeviceMemoryReportTests.cpp