anv: enable VK_KHR_maintenance7

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29968>
This commit is contained in:
Iván Briano 2024-04-03 11:26:31 -07:00 committed by Marge Bot
parent 53f196b8e0
commit 9a68be59ca

View file

@ -279,6 +279,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_maintenance4 = true,
.KHR_maintenance5 = true,
.KHR_maintenance6 = true,
.KHR_maintenance7 = true,
.KHR_map_memory2 = true,
.KHR_multiview = true,
.KHR_performance_query =
@ -967,6 +968,9 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_MESA_image_alignment_control */
.imageAlignmentControl = true,
/* VK_KHR_maintenance7 */
.maintenance7 = true,
};
/* The new DOOM and Wolfenstein games require depthBounds without
@ -1515,6 +1519,18 @@ get_properties(const struct anv_physical_device *pdevice,
props->fragmentShadingRateClampCombinerInputs = true;
}
/* VK_KHR_maintenance7 */
{
props->robustFragmentShadingRateAttachmentAccess = true;
props->separateDepthStencilAttachmentAccess = true;
props->maxDescriptorSetTotalUniformBuffersDynamic = MAX_DYNAMIC_BUFFERS;
props->maxDescriptorSetTotalStorageBuffersDynamic = MAX_DYNAMIC_BUFFERS;
props->maxDescriptorSetTotalBuffersDynamic = MAX_DYNAMIC_BUFFERS;
props->maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic = MAX_DYNAMIC_BUFFERS;
props->maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic = MAX_DYNAMIC_BUFFERS;
props->maxDescriptorSetUpdateAfterBindTotalBuffersDynamic = MAX_DYNAMIC_BUFFERS;
}
/* VK_KHR_performance_query */
{
props->allowCommandBufferQueryCopies = false;