summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-02 08:34:19 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-02 08:34:27 +0200
commite1bd89e1c2dec0d10f3879966a9d2460d22889d7 (patch)
tree58371593f9cb717adfa16f3d866a0f588914a735
parentMerge pull request #3552 from jroweboy/single-context (diff)
downloadyuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar.gz
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar.bz2
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar.lz
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar.xz
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.tar.zst
yuzu-e1bd89e1c2dec0d10f3879966a9d2460d22889d7.zip
-rw-r--r--src/video_core/shader/decode/memory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp
index 28a49addd..b8f63922f 100644
--- a/src/video_core/shader/decode/memory.cpp
+++ b/src/video_core/shader/decode/memory.cpp
@@ -44,6 +44,9 @@ Node GetAtomOperation(AtomicOp op, bool is_signed, Node memory, Node data) {
return OperationCode::AtomicIXor;
case AtomicOp::Exch:
return OperationCode::AtomicIExchange;
+ default:
+ UNIMPLEMENTED_MSG("op={}", static_cast<int>(op));
+ return OperationCode::AtomicIAdd;
}
}();
return SignedOperation(operation_code, is_signed, std::move(memory), std::move(data));