mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 05:38:16 +02:00
radv: Support VkPhysicalDeviceProtectedMemoryFeatures.
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4bcf4d1678
commit
b137e25277
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue