projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: gather all IO info from IO intrinsics
[mesa.git]
/
src
/
compiler
/
nir
/
nir_opt_peephole_select.c
diff --git
a/src/compiler/nir/nir_opt_peephole_select.c
b/src/compiler/nir/nir_opt_peephole_select.c
index 1d0636d44020e1c3efb8a8107105fb8851c75f77..590fec82405171a7ec7990168d4d387afeca7195 100644
(file)
--- a/
src/compiler/nir/nir_opt_peephole_select.c
+++ b/
src/compiler/nir/nir_opt_peephole_select.c
@@
-306,9
+306,7
@@
nir_opt_peephole_select_impl(nir_function_impl *impl, unsigned limit,
if (progress) {
nir_metadata_preserve(impl, nir_metadata_none);
} else {
-#ifndef NDEBUG
- impl->valid_metadata &= ~nir_metadata_not_properly_reset;
-#endif
+ nir_metadata_preserve(impl, nir_metadata_all);
}
return progress;