nir: use more nir_ffma_imm variants
authorErik Faye-Lund <kusmabite@gmail.com>
Tue, 9 May 2023 22:53:24 +0000 (23:53 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 25 May 2023 06:59:25 +0000 (06:59 +0000)
commit4cfb8005f08b7efe8b76c8e9bd426b5fd0c42d93
tree8cc510fbf3820f77d3594ac429938b6abc333480
parentc4d2ebd2851d395b453b9558ebb5888c063869dc
nir: use more nir_ffma_imm variants

nir_ffma_imm has several variants that allows specific arguments to be
immediates. Use them for simplicity.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23179>
src/compiler/nir/nir_lower_double_ops.c
src/gallium/drivers/r600/sfn/sfn_nir_lower_alu.cpp