commit | c4ac09e30e2520b0ac6d403eb6c77f23e7f24f49 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Fri May 08 18:54:08 2015 -0400 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Fri May 08 18:56:56 2015 -0400 |
tree | fd5bc998e5bc326b10d4306eaad026e447041bd7 | |
parent | 3bdbc1e436828606d0b549b9480e7cc28b42d159 [diff] |
nv50/ir: only propagate saturate up if some actual folding took place The former logic would copy the saturate up to any mul with an immediate if there was a subsequent mul with a saturate. However we only want to do that if we collapsed 2 muls by multiplying their immediates (or were able to put the immediate in as a post-multiplier). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: mesa-stable@lists.freedesktop.org