From: Jason Ekstrand Date: Thu, 17 Mar 2016 23:13:40 +0000 (-0700) Subject: nir/alu_to_scalar: Propagate the "exact" bit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91d6272c2b29faa06f352b55e25526c726a25f82;p=mesa.git nir/alu_to_scalar: Propagate the "exact" bit Reviewed-by: Francisco Jerez --- diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c index 5b3281e0a13..e8ba640fe0b 100644 --- a/src/compiler/nir/nir_lower_alu_to_scalar.c +++ b/src/compiler/nir/nir_lower_alu_to_scalar.c @@ -82,6 +82,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: \