diff options
author | Jason Ekstrand <[email protected]> | 2016-03-17 16:13:40 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-23 16:28:06 -0700 |
commit | 91d6272c2b29faa06f352b55e25526c726a25f82 (patch) | |
tree | fa267e545f9a485ff7c2838c6d3d061917e6de81 | |
parent | 865e83b9ec86c9ccec7100dfae9f80ff2969753c (diff) |
nir/alu_to_scalar: Propagate the "exact" bit
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/compiler/nir/nir_lower_alu_to_scalar.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: \ |