diff options
author | Samuel Pitoiset <[email protected]> | 2018-08-30 11:43:47 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-08-31 17:35:13 +0200 |
commit | 686ec97cfb40b12774843463da14d2807477b71e (patch) | |
tree | eedda11ae842b6d756fe8eabc993447ddd5c0d24 /src | |
parent | 7355e9326b805c5a64938bd23a8b4f042abc52c8 (diff) |
radv: add missing support for protected memory properties
Fixes Vulkan CTS CL#2849. Similar to the ANV driver.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |