nir: Fix sources for image atomic fadd
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 26 May 2020 20:58:56 +0000 (15:58 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 23:24:45 +0000 (23:24 +0000)
commite91108691d27fa9f2410c056fc909e70a6c4b9c0
treef21a18d0b35242a8052e731aa456bbbbfb6df7ee
parent247f2fb32ae39009f2e1ba6ae0f2c97573b910d8
nir: Fix sources for image atomic fadd

Somehow we ended up with an extra scalar source up-front.  It doesn't
look like any drivers use this opcode yet so no real harm has been done
by it being wrong.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5218>
src/compiler/nir/nir_intrinsics.py