nir: Use nir_test_mask instead of i2b(iand)
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Fri, 24 Jun 2022 19:31:51 +0000 (21:31 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Jun 2022 18:00:32 +0000 (18:00 +0000)
commit4676b3d3dd913ec48e7eb7d2dbe91774f6de55fb
tree75666d273e0f9b46b9bdbcac74774c78c66bb5d5
parente83bd87ee94c04a62977c83d4e88f6a151109056
nir: Use nir_test_mask instead of i2b(iand)

Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17242>
src/compiler/nir/nir_lower_subgroups.c
src/compiler/nir/nir_lower_texcoord_replace.c
src/compiler/nir/nir_lower_ubo_vec4.c