tu: 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>
Acked-by: Connor Abbott <cwabbott0@gmail.com>
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 17:12:51 +02:00 committed by Marge Bot
parent 85b8579bf6
commit a03b307eea

View file

@ -207,6 +207,7 @@ get_device_extensions(const struct tu_physical_device *device,
.KHR_shader_float_controls2 = true,
.KHR_shader_integer_dot_product = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_relaxed_extended_instruction = true,
.KHR_shader_subgroup_extended_types = true,
.KHR_shader_subgroup_uniform_control_flow = true,
.KHR_shader_terminate_invocation = true,
@ -670,6 +671,9 @@ tu_get_features(struct tu_physical_device *pdevice,
/* VK_EXT_vertex_input_dynamic_state */
features->vertexInputDynamicState = true;
/* VK_KHR_shader_relaxed_extended_instruction */
features->shaderRelaxedExtendedInstruction = true;
}
static void