summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-09-09 04:44:20 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2018-09-17 23:42:44 +0200
commite2ac8fb36d0f5540d87148226c4e93de1b6de5d3 (patch)
tree4753ddc65593eac5a9a3a862e935b97cac07f2ff /src/video_core/engines
parentImplemented Control Codes (diff)
downloadyuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.gz
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.bz2
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.lz
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.xz
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.tar.zst
yuzu-e2ac8fb36d0f5540d87148226c4e93de1b6de5d3.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 12229cf4c..3c5e9ea96 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -581,6 +581,15 @@ union Instruction {
} pset;
union {
+ BitField<0, 3, u64> pred0;
+ BitField<3, 3, u64> pred3;
+ BitField<8, 5, ControlCode> cc; // flag in cc
+ BitField<39, 3, u64> pred39;
+ BitField<42, 1, u64> neg_pred39;
+ BitField<45, 4, PredOperation> op; // op with pred39
+ } csetp;
+
+ union {
BitField<39, 3, u64> pred39;
BitField<42, 1, u64> neg_pred;
BitField<43, 1, u64> neg_a;
@@ -895,6 +904,7 @@ public:
ISET_IMM,
PSETP,
PSET,
+ CSETP,
XMAD_IMM,
XMAD_CR,
XMAD_RC,
@@ -1131,6 +1141,7 @@ private:
INST("0011011-0101----", Id::ISET_IMM, Type::IntegerSet, "ISET_IMM"),
INST("0101000010001---", Id::PSET, Type::PredicateSetRegister, "PSET"),
INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"),
+ INST("010100001010----", Id::PSETP, Type::PredicateSetPredicate, "CSETP"),
INST("0011011-00------", Id::XMAD_IMM, Type::Xmad, "XMAD_IMM"),
INST("0100111---------", Id::XMAD_CR, Type::Xmad, "XMAD_CR"),
INST("010100010-------", Id::XMAD_RC, Type::Xmad, "XMAD_RC"),