mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #3595 from ReinUsesLisp/c4715-silence
shader/memory: Silence no return value warning
This commit is contained in:
commit
0d4ca5a8fc
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ Node GetAtomOperation(AtomicOp op, bool is_signed, Node memory, Node data) {
|
||||||
return OperationCode::AtomicIXor;
|
return OperationCode::AtomicIXor;
|
||||||
case AtomicOp::Exch:
|
case AtomicOp::Exch:
|
||||||
return OperationCode::AtomicIExchange;
|
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));
|
return SignedOperation(operation_code, is_signed, std::move(memory), std::move(data));
|
||||||
|
|
Loading…
Reference in a new issue