Fix memory allocation tests
authorSai Kiran Korwar <skirank@nvidia.com>
Tue, 3 Jul 2018 08:58:52 +0000 (14:28 +0530)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 13 Jul 2018 10:42:43 +0000 (06:42 -0400)
commitbb60dfb76bb724153d133818c1078e36bcfbc250
tree121dbfe1ad8501450005c7971a83aa7e23a739dd
parent4aedd5ec431d000f80ded0322c6572d2088c39b8
Fix memory allocation tests

Use deviceMemoryAllocationGranularity to determine if some number
of allocations of a particular size will succeed.
This is useful on when platform specific alignment restrictions are
present.

Components: Vulkan

Affects: dEQP-VK.memory.allocation.basic.size_*

VK-GL-CTS issue: 1259

Change-Id: Iac4f2e7842a826bebf7c641fad1950f6c3d48946
external/vulkancts/modules/vulkan/memory/vktMemoryAllocationTests.cpp