tu: Expose VK_KHR_maintenance5

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25001>
This commit is contained in:
Connor Abbott 2023-09-01 19:10:56 +02:00 committed by Marge Bot
parent b0f1cb8f31
commit 302907e347
2 changed files with 5 additions and 1 deletions

View file

@ -518,7 +518,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_get_surface_capabilities2 DONE (anv, lvp, nvk, pvr, radv, tu, v3dv, vn)
VK_KHR_global_priority DONE (radv, tu)
VK_KHR_incremental_present DONE (anv, hasvk, lvp, radv, tu, v3dv, vn)
VK_KHR_maintenance5 DONE (anv, lvp, radv)
VK_KHR_maintenance5 DONE (anv, lvp, radv, tu)
VK_KHR_performance_query DONE (anv/gen8+, radv/gfx10.3+, tu, v3dv)
VK_KHR_pipeline_executable_properties DONE (anv, hasvk, radv, tu, v3dv)
VK_KHR_pipeline_library DONE (anv, lvp, radv, tu)

View file

@ -161,6 +161,7 @@ get_device_extensions(const struct tu_physical_device *device,
.KHR_maintenance2 = true,
.KHR_maintenance3 = true,
.KHR_maintenance4 = true,
.KHR_maintenance5 = true,
.KHR_multiview = TU_DEBUG(NOCONFORM) ? true : device->info->a6xx.has_hw_multiview,
.KHR_performance_query = TU_DEBUG(PERFC),
.KHR_pipeline_executable_properties = true,
@ -576,6 +577,9 @@ tu_get_features(struct tu_physical_device *pdevice,
features->fragmentDensityMap = true;
features->fragmentDensityMapDynamic = false;
features->fragmentDensityMapNonSubsampledImages = true;
/* VK_KHR_maintenance5 */
features->maintenance5 = true;
}
static const struct vk_pipeline_cache_object_ops *const cache_import_ops[] = {