Browse Source
Merge pull request #3595 from ReinUsesLisp/c4715-silence
shader/memory: Silence no return value warning
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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)); |
|
|
|
|