mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +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> (cherry picked from commit1eda49cc3d)
This commit is contained in:
parent
6e07e58ef6
commit
9433241cc9
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