summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorNguyen Dac Nam <nam.kazt.91@gmail.com>2020-03-13 17:06:26 +0100
committernamkazy <nam.kazt.91@gmail.com>2020-03-30 12:44:44 +0200
commit2c780db5b9481b71b8d034db545d489bc656cfdd (patch)
tree00c6936cdf123088111bab30a2723fe4471612b9 /src/video_core/shader
parentshader_decode: add Atomic op for common usage (diff)
downloadyuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar.gz
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar.bz2
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar.lz
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar.xz
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.tar.zst
yuzu-2c780db5b9481b71b8d034db545d489bc656cfdd.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/node.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 8f1d9bc95..5fcc9da60 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -162,21 +162,21 @@ enum class OperationCode {
AtomicImageXor, /// (MetaImage, int[N] coords) -> void
AtomicImageExchange, /// (MetaImage, int[N] coords) -> void
- AtomicUExchange, /// (memory, {u}int) -> {u}int
- AtomicUAdd, /// (memory, {u}int) -> {u}int
- AtomicUMin, /// (memory, {u}int) -> {u}int
- AtomicUMax, /// (memory, {u}int) -> {u}int
- AtomicUAnd, /// (memory, {u}int) -> {u}int
- AtomicUOr, /// (memory, {u}int) -> {u}int
- AtomicUXor, /// (memory, {u}int) -> {u}int
-
- AtomicIExchange, /// (memory, {u}int) -> {u}int
- AtomicIAdd, /// (memory, {u}int) -> {u}int
- AtomicIMin, /// (memory, {u}int) -> {u}int
- AtomicIMax, /// (memory, {u}int) -> {u}int
- AtomicIAnd, /// (memory, {u}int) -> {u}int
- AtomicIOr, /// (memory, {u}int) -> {u}int
- AtomicIXor, /// (memory, {u}int) -> {u}int
+ AtomicUExchange, /// (memory, uint) -> uint
+ AtomicUAdd, /// (memory, uint) -> uint
+ AtomicUMin, /// (memory, uint) -> uint
+ AtomicUMax, /// (memory, uint) -> uint
+ AtomicUAnd, /// (memory, uint) -> uint
+ AtomicUOr, /// (memory, uint) -> uint
+ AtomicUXor, /// (memory, uint) -> uint
+
+ AtomicIExchange, /// (memory, int) -> int
+ AtomicIAdd, /// (memory, int) -> int
+ AtomicIMin, /// (memory, int) -> int
+ AtomicIMax, /// (memory, int) -> int
+ AtomicIAnd, /// (memory, int) -> int
+ AtomicIOr, /// (memory, int) -> int
+ AtomicIXor, /// (memory, int) -> int
Branch, /// (uint branch_target) -> void
BranchIndirect, /// (uint branch_target) -> void