From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 14:59:45 +0000 (+0100) Subject: radv: Support VkPhysicalDeviceProtectedMemoryFeatures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b137e25277a783d79ac9b49e36398dcfab7d818c;p=mesa.git radv: Support VkPhysicalDeviceProtectedMemoryFeatures. Reviewed-by: Dave Airlie --- 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; }