nir: Delete bany, ball, fany, fall.
authorMatt Turner <mattst88@gmail.com>
Mon, 30 Nov 2015 22:35:08 +0000 (14:35 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 18 Dec 2015 18:20:13 +0000 (13:20 -0500)
commitc8a74e3a4ea6ac5dfa35adac06af14a8fa4ff773
tree0583d2b34609ae2e975cd8eb9628ff39b819e342
parent21cd298aec1c6cb1d6853ccd3de53e45c617fd0a
nir: Delete bany, ball, fany, fall.

As in the previous patches, these can be implemented as

   any(v) -> any_nequal(v, false)
   all(v) -> all_equal(v, true)

and their removal simplifies the code in the next patch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gallium/auxiliary/nir/tgsi_to_nir.c
src/glsl/nir/nir_lower_alu_to_scalar.c
src/glsl/nir/nir_opcodes.py
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_nir_analyze_boolean_resolves.c
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/program/prog_to_nir.c