diff options
author | Ilia Mirkin <[email protected]> | 2015-05-08 18:54:08 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-05-08 18:56:56 -0400 |
commit | c4ac09e30e2520b0ac6d403eb6c77f23e7f24f49 (patch) | |
tree | fd5bc998e5bc326b10d4306eaad026e447041bd7 /src/mesa/program/prog_instruction.c | |
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 <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/mesa/program/prog_instruction.c')
0 files changed, 0 insertions, 0 deletions