v3d: set compact_arrays in compiler options

Acked-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28601>
This commit is contained in:
Mike Blumenkrantz 2024-04-05 11:15:23 -04:00 committed by Marge Bot
parent 7967be922d
commit d694c1b094

View file

@ -681,6 +681,7 @@ v3d_screen_is_format_supported(struct pipe_screen *pscreen,
}
static const nir_shader_compiler_options v3d_nir_options = {
.compact_arrays = true,
.lower_uadd_sat = true,
.lower_usub_sat = true,
.lower_iadd_sat = true,