Protected Memory allocation tests require compatible device
authorMartin Freebody <martin.freebody@arm.com>
Wed, 20 Nov 2019 10:49:25 +0000 (10:49 +0000)
committerMartin Freebody <martin.freebody@arm.com>
Fri, 14 Feb 2020 11:25:45 +0000 (11:25 +0000)
commitf5f362a43198b0168d0ad279faf15d42cfc61d2a
treeed57c48c9669e60e3c5cae22c46010a07e4e0109
parentf70a2960a33d81a214c0f05a814f0d37b5577541
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
external/vulkancts/modules/vulkan/memory/vktMemoryAllocationTests.cpp