freedreno: set compact_arrays in compiler options

Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28601>
This commit is contained in:
Mike Blumenkrantz 2024-04-05 11:19:17 -04:00 committed by Marge Bot
parent 39b66f9c84
commit d2abc7f9a6
2 changed files with 2 additions and 0 deletions

View file

@ -74,6 +74,7 @@ ir3_compiler_destroy(struct ir3_compiler *compiler)
}
static const nir_shader_compiler_options ir3_base_options = {
.compact_arrays = true,
.lower_fpow = true,
.lower_scmp = true,
.lower_flrp16 = true,

View file

@ -31,6 +31,7 @@
#include "nir_legacy.h"
static const nir_shader_compiler_options options = {
.compact_arrays = true,
.lower_fpow = true,
.lower_flrp32 = true,
.lower_fmod = true,