radv: advertise VK_KHR_maintenance10

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38043>
This commit is contained in:
Samuel Pitoiset 2025-05-29 14:16:01 +02:00 committed by Marge Bot
parent 14639898d0
commit c8aaf3f5b5
3 changed files with 11 additions and 2 deletions

View file

@ -557,7 +557,7 @@ Khronos extensions that are not part of any Vulkan version:
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_maintenance9 DONE (anv, hk, lvp, nvk, panvk, radv)
VK_KHR_maintenance10 DONE (anv, nvk)
VK_KHR_maintenance10 DONE (anv, nvk, radv)
VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv)
VK_KHR_pipeline_binary DONE (radv)
VK_KHR_pipeline_executable_properties DONE (anv, hk, nvk, panvk, hasvk, radv, tu, v3dv)

View file

@ -6,6 +6,6 @@ VK_KHR_present_id on HoneyKrisp
VK_KHR_present_id2 on HoneyKrisp
VK_KHR_present_wait on HoneyKrisp
VK_KHR_present_wait2 on HoneyKrisp
VK_KHR_maintenance10 on ANV, NVK
VK_KHR_maintenance10 on ANV, NVK, RADV
VK_EXT_shader_uniform_buffer_unsized_array on RADV
VK_EXT_device_memory_report on panvk

View file

@ -603,6 +603,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.KHR_maintenance7 = true,
.KHR_maintenance8 = true,
.KHR_maintenance9 = true,
.KHR_maintenance10 = true,
.KHR_map_memory2 = true,
.KHR_multiview = true,
.KHR_performance_query = radv_perf_query_supported(pdev),
@ -1420,6 +1421,9 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
/* VK_EXT_shader_uniform_buffer_unsized_array */
.shaderUniformBufferUnsizedArray = true,
/* VK_KHR_maintenance10 */
.maintenance10 = true,
};
}
@ -2091,6 +2095,11 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
/* VK_NV_cooperative_matrix2 */
.cooperativeMatrixFlexibleDimensionsMaxDimension = 1024,
/* VK_KHR_maintenance10 */
.rgba4OpaqueBlackSwizzled = true,
.resolveSrgbFormatAppliesTransferFunction = true,
.resolveSrgbFormatSupportsTransferFunctionControl = true,
};
struct vk_properties *p = &pdev->vk.properties;