hasvk: 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: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31098>
This commit is contained in:
Rohan Garg 2024-08-22 17:14:46 +02:00 committed by Marge Bot
parent 5f3339e44a
commit 7f65035078

View file

@ -260,6 +260,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_shader_float_controls = true,
.KHR_shader_integer_dot_product = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_relaxed_extended_instruction = true,
.KHR_shader_subgroup_extended_types = device->info.ver >= 8,
.KHR_shader_subgroup_uniform_control_flow = true,
.KHR_shader_terminate_invocation = true,
@ -659,6 +660,9 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_KHR_shader_expect_assume */
.shaderExpectAssume = true,
/* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true,
};
/* We can't do image stores in vec4 shaders */