[Mesa-dev] [PATCH 09/16] radv: Support VkPhysicalDeviceProtectedMemoryFeatures.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Mar 7 14:47:37 UTC 2018
Reviewed-by: Dave Airlie <airlied at redhat.com>
---
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 fd359cdbcc..50fef408d1 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.16.1
More information about the mesa-dev
mailing list