From a056d5ad8cde507a2723e906ba8b90121639506c Mon Sep 17 00:00:00 2001
From: Subv <subv2112@gmail.com>
Date: Sat, 19 May 2018 11:41:14 -0500
Subject: [PATCH] ShadersDecompiler: Added decoding for the PSETP instruction.

---
 src/video_core/engines/shader_bytecode.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index e1ceec268b..7eb1bf8d99 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) {
-- 
GitLab