lvp: 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: 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-09-16 16:32:15 +02:00 committed by Marge Bot
parent 97f41bc819
commit 854865a059

View file

@ -161,6 +161,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
.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_terminate_invocation = true,
.KHR_spirv_1_4 = true,
@ -720,6 +721,9 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
/* VK_EXT_swapchain_maintenance1 */
.swapchainMaintenance1 = true,
#endif
/* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true,
};
}