panvk: Enable VK_KHR_shader_quad_control for v10+

Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33615>
This commit is contained in:
Rebecca Mckeever
2025-02-18 19:30:23 -08:00
committed by Marge Bot
parent 13a3d70258
commit 0c40b1653d
3 changed files with 6 additions and 1 deletions

View File

@@ -563,7 +563,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_shader_clock DONE (anv, hasvk, lvp, nvk, radv, vn) VK_KHR_shader_clock DONE (anv, hasvk, lvp, nvk, radv, vn)
VK_KHR_shader_maximal_reconvergence DONE (anv, lvp, nvk, panvk/v10+, radv, vn) VK_KHR_shader_maximal_reconvergence DONE (anv, lvp, nvk, panvk/v10+, radv, vn)
VK_KHR_shader_subgroup_uniform_control_flow DONE (anv, hasvk, nvk, panvk/v10+, radv, tu, vn) VK_KHR_shader_subgroup_uniform_control_flow DONE (anv, hasvk, nvk, panvk/v10+, radv, tu, vn)
VK_KHR_shader_quad_control DONE (anv, nvk, radv, vn) VK_KHR_shader_quad_control DONE (anv, nvk, panvk/v10+, radv, vn)
VK_KHR_shared_presentable_image not started VK_KHR_shared_presentable_image not started
VK_KHR_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn) VK_KHR_surface DONE (anv, dzn, hasvk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
VK_KHR_surface_protected_capabilities DONE (anv, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_surface_protected_capabilities DONE (anv, lvp, nvk, radv, tu, v3dv, vn)

View File

@@ -14,3 +14,4 @@ VK_MESA_image_alignment_control on NVK
shaderFloat16 on panvk shaderFloat16 on panvk
VK_KHR_shader_subgroup_uniform_control_flow on panvk/v10+ VK_KHR_shader_subgroup_uniform_control_flow on panvk/v10+
VK_KHR_shader_maximal_reconvergence on panvk/v10+ VK_KHR_shader_maximal_reconvergence on panvk/v10+
VK_KHR_shader_quad_control on panvk/v10+

View File

@@ -217,6 +217,7 @@ get_device_extensions(const struct panvk_physical_device *device,
.KHR_shader_float16_int8 = true, .KHR_shader_float16_int8 = true,
.KHR_shader_maximal_reconvergence = arch >= 10, /* requires vk1.1 */ .KHR_shader_maximal_reconvergence = arch >= 10, /* requires vk1.1 */
.KHR_shader_non_semantic_info = true, .KHR_shader_non_semantic_info = true,
.KHR_shader_quad_control = arch >= 10, /* requires vk1.1 */
.KHR_shader_relaxed_extended_instruction = true, .KHR_shader_relaxed_extended_instruction = true,
.KHR_shader_subgroup_rotate = true, .KHR_shader_subgroup_rotate = true,
.KHR_shader_subgroup_uniform_control_flow = arch >= 10, /* requires vk1.1 */ .KHR_shader_subgroup_uniform_control_flow = arch >= 10, /* requires vk1.1 */
@@ -426,6 +427,9 @@ get_features(const struct panvk_physical_device *device,
/* VK_EXT_pipeline_robustness */ /* VK_EXT_pipeline_robustness */
.pipelineRobustness = true, .pipelineRobustness = true,
/* VK_KHR_shader_quad_control */
.shaderQuadControl = true,
/* VK_KHR_shader_relaxed_extended_instruction */ /* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true, .shaderRelaxedExtendedInstruction = true,