nir/algebraic: Get rid of an invlid fxor optimization
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Mar 2016 21:25:56 +0000 (14:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Mar 2016 23:27:58 +0000 (16:27 -0700)
commit89545b13141053cf12a10e5357aa82031e8419ed
treead8d3802619ecad304248777f2859ec474a76ef7
parent3a7cb6534c3f82482c05f6a6813308cf2cad131f
nir/algebraic: Get rid of an invlid fxor optimization

The fxor opcode is required to return 1.0f or 0.0f but the input variable
may not be 1.0f or 0.0f.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/compiler/nir/nir_opt_algebraic.py