projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/algebraic: mark some optimizations with fsat(NaN) as inexact
[mesa.git]
/
src
/
compiler
/
nir
/
nir_opt_trivial_continues.c
diff --git
a/src/compiler/nir/nir_opt_trivial_continues.c
b/src/compiler/nir/nir_opt_trivial_continues.c
index 54d2245bccb0c735ee622fa5183815c6d8b2bd42..496811965acd94ab1216361cc7d3d6a0c67d3a8c 100644
(file)
--- a/
src/compiler/nir/nir_opt_trivial_continues.c
+++ b/
src/compiler/nir/nir_opt_trivial_continues.c
@@
-130,6
+130,8
@@
nir_opt_trivial_continues(nir_shader *shader)
/* If that made progress, we're no longer really in SSA form. */
nir_lower_regs_to_ssa_impl(function->impl);
progress = true;
+ } else {
+ nir_metadata_preserve(function->impl, nir_metadata_all);
}
}