v3dv: 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-08-22 17:20:58 +02:00 committed by Marge Bot
parent a03b307eea
commit 97f41bc819

View file

@ -177,6 +177,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
.KHR_shader_expect_assume = true,
.KHR_shader_float_controls = true,
.KHR_shader_non_semantic_info = true,
.KHR_shader_relaxed_extended_instruction = true,
.KHR_sampler_mirror_clamp_to_edge = true,
.KHR_sampler_ycbcr_conversion = true,
.KHR_spirv_1_4 = true,
@ -507,6 +508,9 @@ get_features(const struct v3dv_physical_device *physical_device,
/* VK_EXT_swapchain_maintenance1 */
.swapchainMaintenance1 = true,
#endif
/* VK_KHR_shader_relaxed_extended_instruction */
.shaderRelaxedExtendedInstruction = true,
};
}