Module: Mesa Branch: 18.2 Commit: e2607a6da52e2c5f75710c9399ec7b8cd21fce28 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2607a6da52e2c5f75710c9399ec7b8cd21fce28
Author: Samuel Iglesias Gonsálvez <[email protected]> Date: Fri Aug 24 12:11:49 2018 +0200 anv: Add support for protected memory properties on anv_GetPhysicalDeviceProperties2() VkPhysicalDeviceProtectedMemoryProperties structure is new on Vulkan 1.1. Fixes Vulkan CTS CL#2849. Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> (cherry picked from commit 59a8e0dbf855d390e96a88d859f0d120dfc34404) --- src/intel/vulkan/anv_device.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index aea35256ec..113aba70a3 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1183,6 +1183,13 @@ void anv_GetPhysicalDeviceProperties2( break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: { + VkPhysicalDeviceProtectedMemoryProperties *props = + (VkPhysicalDeviceProtectedMemoryProperties *)ext; + props->protectedNoFault = false; + break; + } + default: anv_debug_ignored_stype(ext->sType); break; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
