hk: enable VK_KHR_shader_relaxed_extended_instruction

The extension only affects non semantic instructions that need no
handling in the backend compiler.

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30791>
This commit is contained in:
Rohan Garg
2024-08-22 15:54:57 +02:00
committed by Marge Bot
parent daea7e1651
commit 2a4fbce27a

View File

@@ -112,6 +112,7 @@ hk_get_device_extensions(const struct hk_instance *instance,
.KHR_shader_integer_dot_product = true,
.KHR_shader_maximal_reconvergence = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_relaxed_extended_instruction = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_subgroup_rotate = true,
.KHR_shader_subgroup_uniform_control_flow = true,
@@ -585,6 +586,9 @@ hk_get_device_features(
/* VK_EXT_ycbcr_image_arrays */
.ycbcrImageArrays = false,
/* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true,
};
}