diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-02 20:32:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 20:32:19 +0200 |
commit | 0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2 (patch) | |
tree | 58371593f9cb717adfa16f3d866a0f588914a735 /src | |
parent | Merge pull request #3552 from jroweboy/single-context (diff) | |
parent | shader/memory: Silence no return value warning (diff) | |
download | yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar.gz yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar.bz2 yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar.lz yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar.xz yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.tar.zst yuzu-0d4ca5a8fc79c3b2a4b33ee65e8b27da5caebeb2.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/shader/decode/memory.cpp | 3 |
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)); |