diff options
author | Dave Airlie <[email protected]> | 2019-08-20 15:44:50 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-08-27 12:28:17 +1000 |
commit | 1eda49cc3de22e97a70944367d17d5afe611f3cc (patch) | |
tree | 8ae4ae95ca31459c76ea2e58a3d81a5aa14af6aa /src/gallium/auxiliary/gallivm | |
parent | 848d5e444a881a1a3ac6824f07d95988b312530b (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 31f6f082acc..7c747f38e7a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -3585,6 +3585,8 @@ atomic_emit( case TGSI_OPCODE_ATOMIMAX: op = LLVMAtomicRMWBinOpMax; break; + case TGSI_OPCODE_ATOMCAS: + break; default: assert(0); return; |