From: Samuel Pitoiset Date: Thu, 30 Aug 2018 09:43:47 +0000 (+0200) Subject: radv: add missing support for protected memory properties X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=686ec97cfb40b12774843463da14d2807477b71e;p=mesa.git radv: add missing support for protected memory properties Fixes Vulkan CTS CL#2849. Similar to the ANV driver. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 79dbbd886d5..c300c88468a 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1139,6 +1139,12 @@ void radv_GetPhysicalDeviceProperties2( properties->maxDescriptorSetUpdateAfterBindInputAttachments = max_descriptor_set_size; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: { + VkPhysicalDeviceProtectedMemoryProperties *properties = + (VkPhysicalDeviceProtectedMemoryProperties *)ext; + properties->protectedNoFault = false; + break; + } default: break; }