Protected Memory allocation tests require compatible device
authorMartin Freebody <martin.freebody@arm.com>
Wed, 20 Nov 2019 10:49:25 +0000 (10:49 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 20 Feb 2020 12:07:44 +0000 (07:07 -0500)
commit7e5fc0b04481f4d8492dbfb3ae73f634161f7311
treef98593c06dde106d131fdef7da05956d83c95e7e
parent8cd00261127cdc5de77d1123ef152411ae2facc2
Protected Memory allocation tests require compatible device

For memory allocation tests that detect protected memory capability,
ensure that the device being used first enables the protected memory
feature. If the physical device does not support protected memory,
the allocation type is skipped in the test.

Affects: dEQP-VK.memory.allocation.*

Components: Vulkan

VK-GL-CTS issue: 2163

Change-Id: I899c7cf7e13d04f2674de47c3bb4d08f3de589f4
(cherry picked from commit f5f362a43198b0168d0ad279faf15d42cfc61d2a)
external/vulkancts/modules/vulkan/memory/vktMemoryAllocationTests.cpp