mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 20:54:15 +01:00
shader_decode: merge GlobalAtomicOp to AtomicOp
This commit is contained in:
parent
972485ff18
commit
c8f6d9effd
@ -231,18 +231,6 @@ enum class AtomicOp : u64 {
|
|||||||
Or = 6,
|
Or = 6,
|
||||||
Xor = 7,
|
Xor = 7,
|
||||||
Exch = 8,
|
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,
|
SafeAdd = 10,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1001,7 +989,7 @@ union Instruction {
|
|||||||
} stg;
|
} stg;
|
||||||
|
|
||||||
union {
|
union {
|
||||||
BitField<52, 4, GlobalAtomicOp> operation;
|
BitField<52, 4, AtomicOp> operation;
|
||||||
BitField<49, 3, GlobalAtomicType> type;
|
BitField<49, 3, GlobalAtomicType> type;
|
||||||
BitField<28, 20, s64> offset;
|
BitField<28, 20, s64> offset;
|
||||||
} atom;
|
} atom;
|
||||||
|
Loading…
Reference in New Issue
Block a user