nir/opt_algebraic: Add some constant bcsel reductions
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 29 Jan 2015 00:53:51 +0000 (16:53 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 30 Jan 2015 01:11:13 +0000 (17:11 -0800)
commit604ae33c8b95a97ba586780324566fd21c59b695
tree55a454269b61aad8e9839f081cf8669b518a0f00
parent7f19cd5a56f65fd8d188c2f58b3775a0a5cf2b8a
nir/opt_algebraic: Add some constant bcsel reductions

total instructions in shared programs: 5998190 -> 5997603 (-0.01%)
instructions in affected programs:     54276 -> 53689 (-1.08%)
helped:                                293

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