diff options
| author | 2020-03-13 23:04:20 +0700 | |
|---|---|---|
| committer | 2020-03-30 17:44:44 +0700 | |
| commit | c119473c4083ec53c5de70e2536cd7eb5925ffbb (patch) | |
| tree | 07a57d31c91d19c016328f2076b0a95148fbddc4 /src | |
| parent | Merge pull request #3568 from bunnei/time-calcspan (diff) | |
| download | yuzu-c119473c4083ec53c5de70e2536cd7eb5925ffbb.tar.gz yuzu-c119473c4083ec53c5de70e2536cd7eb5925ffbb.tar.xz yuzu-c119473c4083ec53c5de70e2536cd7eb5925ffbb.zip | |
shader_decode: add Atomic op for common usage
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/node.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index a1828546e..8f1d9bc95 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h | |||
| @@ -162,7 +162,21 @@ enum class OperationCode { | |||
| 162 | AtomicImageXor, /// (MetaImage, int[N] coords) -> void | 162 | AtomicImageXor, /// (MetaImage, int[N] coords) -> void |
| 163 | AtomicImageExchange, /// (MetaImage, int[N] coords) -> void | 163 | AtomicImageExchange, /// (MetaImage, int[N] coords) -> void |
| 164 | 164 | ||
| 165 | AtomicAdd, /// (memory, {u}int) -> {u}int | 165 | AtomicUExchange, /// (memory, {u}int) -> {u}int |
| 166 | AtomicUAdd, /// (memory, {u}int) -> {u}int | ||
| 167 | AtomicUMin, /// (memory, {u}int) -> {u}int | ||
| 168 | AtomicUMax, /// (memory, {u}int) -> {u}int | ||
| 169 | AtomicUAnd, /// (memory, {u}int) -> {u}int | ||
| 170 | AtomicUOr, /// (memory, {u}int) -> {u}int | ||
| 171 | AtomicUXor, /// (memory, {u}int) -> {u}int | ||
| 172 | |||
| 173 | AtomicIExchange, /// (memory, {u}int) -> {u}int | ||
| 174 | AtomicIAdd, /// (memory, {u}int) -> {u}int | ||
| 175 | AtomicIMin, /// (memory, {u}int) -> {u}int | ||
| 176 | AtomicIMax, /// (memory, {u}int) -> {u}int | ||
| 177 | AtomicIAnd, /// (memory, {u}int) -> {u}int | ||
| 178 | AtomicIOr, /// (memory, {u}int) -> {u}int | ||
| 179 | AtomicIXor, /// (memory, {u}int) -> {u}int | ||
| 166 | 180 | ||
| 167 | Branch, /// (uint branch_target) -> void | 181 | Branch, /// (uint branch_target) -> void |
| 168 | BranchIndirect, /// (uint branch_target) -> void | 182 | BranchIndirect, /// (uint branch_target) -> void |