nir: Recognize open coded lrp.
authorMatt Turner <mattst88@gmail.com>
Wed, 25 Mar 2015 22:03:52 +0000 (15:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 1 Apr 2015 20:43:57 +0000 (13:43 -0700)
commite82437e14153af212006deee4a6b808091314482
tree0867231bbad2d303ab418232178084b00c57e6fd
parent25e214db0094306835a03225e1a37164c7c98bf7
nir: Recognize open coded lrp.

total instructions in shared programs: 6197614 -> 6195924 (-0.03%)
instructions in affected programs:     34773 -> 33083 (-4.86%)
helped:                                147
HURT:                                  6

Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/nir/nir_opt_algebraic.py