summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-05-21 03:00:55 +0200
committerGitHub <noreply@github.com>2018-05-21 03:00:55 +0200
commit6486544e0981265f4d49f6ed1009902400e03181 (patch)
treea0afa558556d47afefaaaa45700ef812ad7118a6 /src/video_core
parentMerge pull request #451 from Subv/gl_array_size (diff)
parentShadersDecompiler: Added decoding for the PSETP instruction. (diff)
downloadyuzu-6486544e0981265f4d49f6ed1009902400e03181.tar
yuzu-6486544e0981265f4d49f6ed1009902400e03181.tar.gz
yuzu-6486544e0981265f4d49f6ed1009902400e03181.tar.bz2
yuzu-6486544e0981265f4d49f6ed1009902400e03181.tar.lz
yuzu-6486544e0981265f4d49f6ed1009902400e03181.tar.xz
yuzu-6486544e0981265f4d49f6ed1009902400e03181.tar.zst
yuzu-6486544e0981265f4d49f6ed1009902400e03181.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/shader_bytecode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index e1ceec268..7eb1bf8d9 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -320,6 +320,7 @@ public:
ISETP_C,
ISETP_IMM,
ISETP_R,
+ PSETP,
};
enum class Type {
@@ -331,6 +332,7 @@ public:
FloatSet,
FloatSetPredicate,
IntegerSetPredicate,
+ PredicateSetPredicate,
Conversion,
Unknown,
};
@@ -477,6 +479,7 @@ private:
INST("010010110110----", Id::ISETP_C, Type::IntegerSetPredicate, "ISETP_C"),
INST("010110110110----", Id::ISETP_R, Type::IntegerSetPredicate, "ISETP_R"),
INST("0011011-0110----", Id::ISETP_IMM, Type::IntegerSetPredicate, "ISETP_IMM"),
+ INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"),
};
#undef INST
std::stable_sort(table.begin(), table.end(), [](const auto& a, const auto& b) {