Fix use protected memory device
authorMohd Faisal <mohd.faisal@arm.com>
Mon, 12 Dec 2022 13:32:59 +0000 (13:32 +0000)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Mon, 16 Jan 2023 12:22:21 +0000 (12:22 +0000)
commitdb9824caf34fc5a0e50850a6e774d2c4332a6b0e
tree60acdceb2f336a8b2ca0afee060c72b99ce57902
parentcd2c8888eaf1202d5d011a0b0a4feaa74c80190e
Fix use protected memory device

To create protected buffer use the protected memory enabled
device, otherwise use the default device.

Components: Vulkan

Affects: dEQP-VK.api.buffer_memory_requirements.*

VK-GL-CTS issue: 4173

Change-Id: I4882ad753a3cd940d6a2e8d01cca7c32d92be72e
external/vulkancts/modules/vulkan/api/vktApiBufferMemoryRequirementsTests.cpp