diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-03-31 00:56:28 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-31 00:56:28 -0300 |
| commit | c19425ed69589dc4577b660cfb50c2f25a42582e (patch) | |
| tree | f5888dc8ce3e6e65a5c7c061d099ea8473b71a38 /src/video_core/engines/shader_bytecode.h | |
| parent | 69728e8ad5f297bba787da55addc1eab33faceb9 (diff) | |
| parent | 238c35b2c9b0c89d2fd836c0c99a31999fa15b06 (diff) | |
Merge pull request #3506 from namkazt/patch-9
shader_decode: Implement partial ATOM/ATOMS instr
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 49dc5abe0..930b605af 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -231,18 +231,6 @@ enum class AtomicOp : u64 { Or = 6, Xor = 7, Exch = 8, -}; - -enum class GlobalAtomicOp : u64 { - Add = 0, - Min = 1, - Max = 2, - Inc = 3, - Dec = 4, - And = 5, - Or = 6, - Xor = 7, - Exch = 8, SafeAdd = 10, }; @@ -1001,7 +989,7 @@ union Instruction { } stg; union { - BitField<52, 4, GlobalAtomicOp> operation; + BitField<52, 4, AtomicOp> operation; BitField<49, 3, GlobalAtomicType> type; BitField<28, 20, s64> offset; } atom; |
