zink: don't always run nir_lower_io_arrays_to_elements_no_indirects

this is automatically run for fs and vs, which is the only place we really
want it

Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8152>
This commit is contained in:
Mike Blumenkrantz 2020-07-16 09:50:59 -04:00 committed by Marge Bot
parent 4a4ea89a99
commit 244310eddc

View file

@ -204,7 +204,6 @@ lower_64bit_vertex_attribs(nir_shader *shader)
}
static const struct nir_shader_compiler_options nir_options = {
.lower_all_io_to_temps = true,
.lower_ffma16 = true,
.lower_ffma32 = true,
.lower_ffma64 = true,
@ -224,7 +223,6 @@ static const struct nir_shader_compiler_options nir_options = {
};
static const struct nir_shader_compiler_options softfp_nir_options = {
.lower_all_io_to_temps = true,
.lower_ffma16 = true,
.lower_ffma32 = true,
.lower_ffma64 = true,