mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-18 06:00:35 +02:00
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>
This commit is contained in:
parent
848d5e444a
commit
1eda49cc3d
1 changed files with 2 additions and 0 deletions
|
|
@ -3585,6 +3585,8 @@ atomic_emit(
|
|||
case TGSI_OPCODE_ATOMIMAX:
|
||||
op = LLVMAtomicRMWBinOpMax;
|
||||
break;
|
||||
case TGSI_OPCODE_ATOMCAS:
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue