nir: add nir_fsub_imm
authorErik Faye-Lund <kusmabite@gmail.com>
Mon, 8 May 2023 07:07:53 +0000 (09:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 25 May 2023 06:59:25 +0000 (06:59 +0000)
commit0ef104b057504a67bccca518b44c03021a10e528
tree749abc8b86c003ef1e962847a29ced4723cb9412
parent4cfb8005f08b7efe8b76c8e9bd426b5fd0c42d93
nir: add nir_fsub_imm

This is similar to nir_isub_imm, but for floats.

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_builder.h