diff options
author | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 13:47:50 +0200 |
---|---|---|
committer | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 13:47:50 +0200 |
commit | 4f7bea403a3e7e7b10255b7f1ac5363822c65833 (patch) | |
tree | b717b2511a278a509f46ca1248c097e6b214701d /src/video_core/shader/node_helper.cpp | |
parent | shader_decode: merge GlobalAtomicOp to AtomicOp (diff) | |
download | yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar.gz yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar.bz2 yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar.lz yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar.xz yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.tar.zst yuzu-4f7bea403a3e7e7b10255b7f1ac5363822c65833.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/node_helper.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/video_core/shader/node_helper.cpp b/src/video_core/shader/node_helper.cpp index 76c56abb5..7bf4ff387 100644 --- a/src/video_core/shader/node_helper.cpp +++ b/src/video_core/shader/node_helper.cpp @@ -86,6 +86,20 @@ OperationCode SignedToUnsignedCode(OperationCode operation_code, bool is_signed) return OperationCode::LogicalUNotEqual; case OperationCode::LogicalIGreaterEqual: return OperationCode::LogicalUGreaterEqual; + case OperationCode::AtomicIExchange: + return OperationCode::AtomicUExchange; + case OperationCode::AtomicIAdd: + return OperationCode::AtomicUAdd; + case OperationCode::AtomicIMin: + return OperationCode::AtomicUMin; + case OperationCode::AtomicIMax: + return OperationCode::AtomicUMax; + case OperationCode::AtomicIAnd: + return OperationCode::AtomicUAnd; + case OperationCode::AtomicIOr: + return OperationCode::AtomicUOr; + case OperationCode::AtomicIXor: + return OperationCode::AtomicUXor; case OperationCode::INegate: UNREACHABLE_MSG("Can't negate an unsigned integer"); return {}; |