Mesa (main): intel/compiler: use nir_metadata_none instead of its value
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 10:29:39 UTC 2021
Module: Mesa
Branch: main
Commit: 1faebd0936cc9a7359078025b697d2af1689e990
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1faebd0936cc9a7359078025b697d2af1689e990
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date: Fri Aug 6 14:38:31 2021 +0200
intel/compiler: use nir_metadata_none instead of its value
Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13189>
---
src/intel/compiler/brw_nir_tcs_workarounds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_nir_tcs_workarounds.c b/src/intel/compiler/brw_nir_tcs_workarounds.c
index 0661d5158ac..1cb8ed5ee7d 100644
--- a/src/intel/compiler/brw_nir_tcs_workarounds.c
+++ b/src/intel/compiler/brw_nir_tcs_workarounds.c
@@ -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);
}
More information about the mesa-commit
mailing list