gallivm: fix atomic compare-and-swap
authorDave Airlie <airlied@redhat.com>
Tue, 20 Aug 2019 05:44:50 +0000 (15:44 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 02:28:17 +0000 (12:28 +1000)
commit1eda49cc3de22e97a70944367d17d5afe611f3cc
tree8ae4ae95ca31459c76ea2e58a3d81a5aa14af6aa
parent848d5e444a881a1a3ac6824f07d95988b312530b
gallivm: fix atomic compare-and-swap

Not sure how I missed this before, but compswap was hitting an
assert here as it is it's own special case.

Fixes: b5ac381d8f ("gallivm: add buffer operations to the tgsi->llvm conversion.")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c