mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
gl_decompiler: add atomic op
This commit is contained in:
parent
2c780db5b9
commit
552f0ff267
1 changed files with 16 additions and 0 deletions
|
@ -2307,6 +2307,8 @@ private:
|
||||||
~Func() = delete;
|
~Func() = delete;
|
||||||
|
|
||||||
static constexpr std::string_view Add = "Add";
|
static constexpr std::string_view Add = "Add";
|
||||||
|
static constexpr std::string_view Min = "Min";
|
||||||
|
static constexpr std::string_view Max = "Max";
|
||||||
static constexpr std::string_view And = "And";
|
static constexpr std::string_view And = "And";
|
||||||
static constexpr std::string_view Or = "Or";
|
static constexpr std::string_view Or = "Or";
|
||||||
static constexpr std::string_view Xor = "Xor";
|
static constexpr std::string_view Xor = "Xor";
|
||||||
|
@ -2457,7 +2459,21 @@ private:
|
||||||
&GLSLDecompiler::AtomicImage<Func::Xor>,
|
&GLSLDecompiler::AtomicImage<Func::Xor>,
|
||||||
&GLSLDecompiler::AtomicImage<Func::Exchange>,
|
&GLSLDecompiler::AtomicImage<Func::Exchange>,
|
||||||
|
|
||||||
|
&GLSLDecompiler::Atomic<Func::Exchange, Type::Uint>,
|
||||||
&GLSLDecompiler::Atomic<Func::Add, Type::Uint>,
|
&GLSLDecompiler::Atomic<Func::Add, Type::Uint>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Min, Type::Uint>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Max, Type::Uint>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::And, Type::Uint>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Or, Type::Uint>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Xor, Type::Uint>,
|
||||||
|
|
||||||
|
&GLSLDecompiler::Atomic<Func::Exchange, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Add, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Min, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Max, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::And, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Or, Type::Int>,
|
||||||
|
&GLSLDecompiler::Atomic<Func::Xor, Type::Int>,
|
||||||
|
|
||||||
&GLSLDecompiler::Branch,
|
&GLSLDecompiler::Branch,
|
||||||
&GLSLDecompiler::BranchIndirect,
|
&GLSLDecompiler::BranchIndirect,
|
||||||
|
|
Loading…
Reference in a new issue