intel/compiler: use nir_metadata_none instead of its value

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13189>
This commit is contained in:
Marcin Ślusarz 2021-08-06 14:38:31 +02:00 committed by Marge Bot
parent 71bec85db0
commit 1faebd0936
1 changed files with 1 additions and 1 deletions

View File

@ -131,5 +131,5 @@ brw_nir_apply_tcs_quads_workaround(nir_shader *nir)
emit_quads_workaround(&b, end_preds[i]);
}
nir_metadata_preserve(impl, 0);
nir_metadata_preserve(impl, nir_metadata_none);
}