[Mesa-dev] [PATCH 08/12] nir/alu_to_scalar: Propagate the "exact" bit
Jason Ekstrand
jason at jlekstrand.net
Fri Mar 18 00:51:52 UTC 2016
---
src/compiler/nir/nir_lower_alu_to_scalar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c
index 312d2f9..082242e 100644
--- a/src/compiler/nir/nir_lower_alu_to_scalar.c
+++ b/src/compiler/nir/nir_lower_alu_to_scalar.c
@@ -80,6 +80,7 @@ lower_alu_instr_scalar(nir_alu_instr *instr, nir_builder *b)
assert(instr->dest.write_mask != 0);
b->cursor = nir_before_instr(&instr->instr);
+ b->exact = instr->exact;
#define LOWER_REDUCTION(name, chan, merge) \
case name##2: \
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list