projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/lower_tex: skip lower_tex_packing for the texture samples query
[mesa.git]
/
src
/
compiler
/
nir
/
nir_opt_idiv_const.c
diff --git
a/src/compiler/nir/nir_opt_idiv_const.c
b/src/compiler/nir/nir_opt_idiv_const.c
index 688186779e6bf6162ecf34cb7e0adb9e9d539a0e..2992d06031788472a26a0692e47ad1eee94e9123 100644
(file)
--- a/
src/compiler/nir/nir_opt_idiv_const.c
+++ b/
src/compiler/nir/nir_opt_idiv_const.c
@@
-198,6
+198,8
@@
nir_opt_idiv_const_impl(nir_function_impl *impl, unsigned min_bit_size)
if (progress) {
nir_metadata_preserve(impl, nir_metadata_block_index |
nir_metadata_dominance);
+ } else {
+ nir_metadata_preserve(impl, nir_metadata_all);
}
return progress;