nir: Recognize trivial min/max.
authorMatt Turner <mattst88@gmail.com>
Wed, 6 May 2015 03:20:30 +0000 (20:20 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 7 May 2015 17:51:05 +0000 (10:51 -0700)
commitceb8b739ce37ee041b903643656d9d16c371ff95
tree113827b648be84d8660f58c564ff30a1773b869c
parent8ae559971a692b417acb9fec04386e1e95c619ec
nir: Recognize trivial min/max.

No changes, but does prevent some regressions in the next commit.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
src/glsl/nir/nir_opt_algebraic.py