panvk: enable KHR_maintenance9

Seems this just works, so let's enable it.

Unlike maintenance 4 through 8, VK_KHR_maintenance9 doesn't have a hard
dependency on Vulkan 1.1, and can also be supported on Bifrost.

Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36987>
This commit is contained in:
Erik Faye-Lund 2025-08-25 17:27:02 +02:00 committed by Marge Bot
parent fffd94c550
commit b8ccbc414a
3 changed files with 9 additions and 1 deletions

View file

@ -555,7 +555,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_incremental_present DONE (anv, hasvk, hk, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_incremental_present DONE (anv, hasvk, hk, lvp, nvk, radv, tu, v3dv, vn)
VK_KHR_maintenance7 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu, vn) VK_KHR_maintenance7 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu, vn)
VK_KHR_maintenance8 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu) VK_KHR_maintenance8 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu)
VK_KHR_maintenance9 DONE (lvp, radv, nvk) VK_KHR_maintenance9 DONE (lvp, radv, nvk, panvk)
VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv) VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv)
VK_KHR_pipeline_binary DONE (radv) VK_KHR_pipeline_binary DONE (radv)
VK_KHR_pipeline_executable_properties DONE (anv, hk, nvk, panvk, hasvk, radv, tu, v3dv) VK_KHR_pipeline_executable_properties DONE (anv, hk, nvk, panvk, hasvk, radv, tu, v3dv)

View file

@ -17,3 +17,4 @@ cl_khr_external_semaphore_sync_fd on radeonsi and zink
GL_NV_shader_atomic_int64 on radeonsi and Panfrost V9+ GL_NV_shader_atomic_int64 on radeonsi and Panfrost V9+
VK_KHR_maintenance7 on panvk/v10+ VK_KHR_maintenance7 on panvk/v10+
VK_KHR_maintenance8 on panvk/v10+ VK_KHR_maintenance8 on panvk/v10+
VK_KHR_maintenance9 on panvk

View file

@ -83,6 +83,7 @@ panvk_per_arch(get_physical_device_extensions)(
.KHR_maintenance6 = has_vk1_1, .KHR_maintenance6 = has_vk1_1,
.KHR_maintenance7 = has_vk1_1, .KHR_maintenance7 = has_vk1_1,
.KHR_maintenance8 = has_vk1_1, .KHR_maintenance8 = has_vk1_1,
.KHR_maintenance9 = true,
.KHR_map_memory2 = true, .KHR_map_memory2 = true,
.KHR_multiview = true, .KHR_multiview = true,
.KHR_pipeline_executable_properties = true, .KHR_pipeline_executable_properties = true,
@ -370,6 +371,7 @@ panvk_per_arch(get_physical_device_features)(
.maintenance6 = true, .maintenance6 = true,
.maintenance7 = true, .maintenance7 = true,
.maintenance8 = true, .maintenance8 = true,
.maintenance9 = true,
/* Vulkan 1.4 */ /* Vulkan 1.4 */
.shaderSubgroupRotate = true, .shaderSubgroupRotate = true,
@ -949,6 +951,11 @@ panvk_per_arch(get_physical_device_properties)(
.maxDescriptorSetUpdateAfterBindTotalBuffersDynamic = .maxDescriptorSetUpdateAfterBindTotalBuffersDynamic =
PAN_ARCH >= 9 ? MAX_DYNAMIC_BUFFERS : 0, PAN_ARCH >= 9 ? MAX_DYNAMIC_BUFFERS : 0,
/* VK_KHR_maintenance9 */
/* Sparse binding not supported yet. */
.image2DViewOf3DSparse = false,
.defaultVertexAttributeValue = VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR,
/* VK_KHR_line_rasterization */ /* VK_KHR_line_rasterization */
.lineSubPixelPrecisionBits = 8, .lineSubPixelPrecisionBits = 8,