mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08:00
anv: Fix feature pipelineProtectedAccess
We enable VK_EXT_pipeline_protected_access only if
anv_physical_device::has_protected_contexts. Therefore we should do the
same for vk_features::pipelineProtectedAccess.
Fixes: 0b5408f
("anv: expose VK_EXT_pipeline_protected_access")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32206>
This commit is contained in:
parent
4743695e91
commit
56116c4da5
@ -898,7 +898,7 @@ get_features(const struct anv_physical_device *pdevice,
|
||||
.dynamicRenderingLocalRead = true,
|
||||
|
||||
/* VK_EXT_pipeline_protected_access */
|
||||
.pipelineProtectedAccess = true,
|
||||
.pipelineProtectedAccess = pdevice->has_protected_contexts,
|
||||
|
||||
/* VK_EXT_host_image_copy */
|
||||
.hostImageCopy = true,
|
||||
|
Loading…
Reference in New Issue
Block a user