nv50/ir/nir: fix global_atomic_comp_swap
authorKarol Herbst <kherbst@redhat.com>
Sat, 7 Mar 2020 15:17:48 +0000 (16:17 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 18:11:42 +0000 (18:11 +0000)
commitb283fb335b2736ffe53c6d7d075c1b14dbcadce7
tree4f50be9acdb1de4e79640512a5815c67f8b04cc9
parent4403176201f7cad59dabfaf714df12d348332bab
nv50/ir/nir: fix global_atomic_comp_swap

Fixes: 20d0ae464c4a ("nv50/ir: implement global atomics and handle it for nir")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6367>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp