mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 23:41:13 +00:00
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:
parent
ab35a63dea
commit
e2917ef9ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user