nir/builder: Eliminate nir_f2b helper (and use of nir_f2b32 helper)
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Feb 2022 20:07:04 +0000 (12:07 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 3 Feb 2023 22:39:57 +0000 (22:39 +0000)
commitb265020b825d0f79be9941a0cc58e1a26ce34940
tree23537f5c23dae74af8766224782655f4e2f59472
parent7b0d00034201f8284a41370c0c3326736ae1134c
nir/builder: Eliminate nir_f2b helper (and use of nir_f2b32 helper)

There were only two users. Replace each with nir_fneu instead.

This is now a squash of what was two separate commits.
nir_lower_pstipple_block is called after nir_lower_bool_to_int32, so
nir_fneu32 has to be used here or there will be regresssions in stipple
tests on llvmpipe.

v2: Rebase on !20869.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Suggested-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20509>
src/compiler/nir/nir_builder.h
src/compiler/nir/nir_lower_bitmap.c
src/gallium/auxiliary/nir/nir_draw_helpers.c