Mesa (master): radv: add missing support for protected memory properties
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 31 15:51:29 UTC 2018
Module: Mesa
Branch: master
Commit: 686ec97cfb40b12774843463da14d2807477b71e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=686ec97cfb40b12774843463da14d2807477b71e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Thu Aug 30 11:43:47 2018 +0200
radv: add missing support for protected memory properties
Fixes Vulkan CTS CL#2849. Similar to the ANV driver.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
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 79dbbd886d..c300c88468 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;
}
More information about the mesa-commit
mailing list