projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir,radv/aco: add and use pass to lower make available/visible barriers
[mesa.git]
/
src
/
compiler
/
nir
/
nir_lower_samplers.c
diff --git
a/src/compiler/nir/nir_lower_samplers.c
b/src/compiler/nir/nir_lower_samplers.c
index b60e6aa63b7537a774b11877e4f03e30079c7e21..3eb69bcd5de0ee27310d6bdb87e01ddb3516386b 100644
(file)
--- a/
src/compiler/nir/nir_lower_samplers.c
+++ b/
src/compiler/nir/nir_lower_samplers.c
@@
-133,6
+133,13
@@
lower_impl(nir_function_impl *impl)
}
}
+ if (progress) {
+ nir_metadata_preserve(impl, nir_metadata_block_index |
+ nir_metadata_dominance);
+ } else {
+ nir_metadata_preserve(impl, nir_metadata_all);
+ }
+
return progress;
}