summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-01-21 15:59:45 +0100
committerBas Nieuwenhuizen <[email protected]>2018-03-07 21:18:35 +0100
commitb137e25277a783d79ac9b49e36398dcfab7d818c (patch)
tree712d88d15971a1f0d8cbf15583f1b3f7767239f6 /src/amd/vulkan
parent4bcf4d16782948e28f27cce500fee8b3a81b6195 (diff)
radv: Support VkPhysicalDeviceProtectedMemoryFeatures.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_device.c6
1 files changed, 6 insertions, 0 deletions
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;
}