nir: Add a flag for lowering fsat.
authorEric Anholt <eric@anholt.net>
Fri, 30 Jan 2015 21:53:39 +0000 (13:53 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Feb 2015 22:47:51 +0000 (14:47 -0800)
commit1907a3a7ee4d756b12b6fef32a6e5ea7656436d1
tree5a21b2bed219ca6f92e56ce899f3060a25bdf754
parente5ecf8e4272522e1950d1d4318df19377bf49ae1
nir: Add a flag for lowering fsat.

vc4 cse/algebraic-disabled stats:
total instructions in shared programs: 44356 -> 44354 (-0.00%)
instructions in affected programs:     55 -> 53 (-3.64%)

v2: Rebase to master (no TGSI->NIR present)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/glsl/nir/nir.h
src/glsl/nir/nir_opt_algebraic.py