From b137e25277a783d79ac9b49e36398dcfab7d818c Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 15:59:45 +0100 Subject: [PATCH] radv: Support VkPhysicalDeviceProtectedMemoryFeatures. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index a791d3a7e4c..c16944e5f8e 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -672,6 +672,12 @@ void radv_GetPhysicalDeviceFeatures2( features->shaderDrawParameters = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: { + VkPhysicalDeviceProtectedMemoryFeatures *features = + (VkPhysicalDeviceProtectedMemoryFeatures*)ext; + features->protectedMemory = false; + break; + } default: break; } -- 2.30.2