diff options
author | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 13:47:00 +0200 |
---|---|---|
committer | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 13:47:00 +0200 |
commit | c8f6d9effd32a61be435cc08310bd94d2597cc97 (patch) | |
tree | aa96fe58f3f970d698abb8bd193d499b9a41e70e /src | |
parent | shader_decode: implement ATOM operation for S32 and U32 (diff) | |
download | yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar.gz yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar.bz2 yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar.lz yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar.xz yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.tar.zst yuzu-c8f6d9effd32a61be435cc08310bd94d2597cc97.zip |
Diffstat (limited to 'src')
-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; |