freedreno/ir3: use nir_metadata_none instead of its value

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12467>
This commit is contained in:
Marcin Ślusarz 2021-08-10 12:52:46 +02:00 committed by Marge Bot
parent ab35a63dea
commit e2917ef9ef

View File

@ -722,7 +722,7 @@ ir3_nir_lower_tess_ctrl(nir_shader *shader, struct ir3_shader_variant *v,
nir_pop_if(&b, nif);
nir_metadata_preserve(impl, 0);
nir_metadata_preserve(impl, nir_metadata_none);
}
static void
@ -830,7 +830,7 @@ ir3_nir_lower_tess_eval(nir_shader *shader, struct ir3_shader_variant *v,
v->input_size = calc_primitive_map_size(shader);
nir_metadata_preserve(impl, 0);
nir_metadata_preserve(impl, nir_metadata_none);
}
static void
@ -1000,7 +1000,7 @@ ir3_nir_lower_gs(nir_shader *shader)
exec_list_append(&shader->variables, &state.emit_outputs);
exec_list_append(&shader->variables, &state.new_outputs);
nir_metadata_preserve(impl, 0);
nir_metadata_preserve(impl, nir_metadata_none);
nir_lower_global_vars_to_local(shader);
nir_split_var_copies(shader);