summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node_helper.cpp
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-03-31 05:56:28 +0200
committerGitHub <noreply@github.com>2020-03-31 05:56:28 +0200
commitc19425ed69589dc4577b660cfb50c2f25a42582e (patch)
treef5888dc8ce3e6e65a5c7c061d099ea8473b71a38 /src/video_core/shader/node_helper.cpp
parentMerge pull request #3566 from ReinUsesLisp/vk-wrapper-part1 (diff)
parentclang-format (diff)
downloadyuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar.gz
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar.bz2
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar.lz
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar.xz
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.tar.zst
yuzu-c19425ed69589dc4577b660cfb50c2f25a42582e.zip
Diffstat (limited to 'src/video_core/shader/node_helper.cpp')
-rw-r--r--src/video_core/shader/node_helper.cpp14
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 {};