nir/prog: Use nir_bany in kill handling
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Oct 2018 17:12:28 +0000 (12:12 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 16:45:29 +0000 (11:45 -0500)
commit1d2ed694c16b6b4d0b096039c8f61808ba7c624d
treecbea54193324ebe62b45fbd247d75f7e0667e2bc
parent2fe3031440d155848335daa65ea2838a5cbb9a55
nir/prog: Use nir_bany in kill handling

We have a helper that does exactly what the bany_inequal was doing.  It
emits the same code but is a bit higher level and is designed to operate
on a bvec4.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/program/prog_to_nir.c