summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2018-10-15 02:10:15 -0300
committerGravatar ReinUsesLisp2018-10-15 02:55:51 -0300
commit6312eec5ef650ca5363ef4cfa08c2d38ffb6a0fe (patch)
tree3909e690e81601e25f8a3cad45ca48b6cfb8d95a /src/video_core/engines
parentgl_shader_decompiler: Implement HSETP2_R (diff)
downloadyuzu-6312eec5ef650ca5363ef4cfa08c2d38ffb6a0fe.tar.gz
yuzu-6312eec5ef650ca5363ef4cfa08c2d38ffb6a0fe.tar.xz
yuzu-6312eec5ef650ca5363ef4cfa08c2d38ffb6a0fe.zip
gl_shader_decompiler: Implement HSET2_R
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index a6e764ea4..39ae065de 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -832,6 +832,21 @@ union Instruction {
832 } fset; 832 } fset;
833 833
834 union { 834 union {
835 BitField<49, 1, u64> bf;
836 BitField<35, 3, PredCondition> cond;
837 BitField<50, 1, u64> ftz;
838 BitField<45, 2, PredOperation> op;
839 BitField<43, 1, u64> negate_a;
840 BitField<44, 1, u64> abs_a;
841 BitField<47, 2, HalfType> type_a;
842 BitField<31, 1, u64> negate_b;
843 BitField<30, 1, u64> abs_b;
844 BitField<28, 2, HalfType> type_b;
845 BitField<42, 1, u64> neg_pred;
846 BitField<39, 3, u64> pred39;
847 } hset2;
848
849 union {
835 BitField<39, 3, u64> pred39; 850 BitField<39, 3, u64> pred39;
836 BitField<42, 1, u64> neg_pred; 851 BitField<42, 1, u64> neg_pred;
837 BitField<44, 1, u64> bf; 852 BitField<44, 1, u64> bf;
@@ -1257,6 +1272,7 @@ public:
1257 HFMA2_RR, 1272 HFMA2_RR,
1258 HFMA2_IMM_R, 1273 HFMA2_IMM_R,
1259 HSETP2_R, 1274 HSETP2_R,
1275 HSET2_R,
1260 POPC_C, 1276 POPC_C,
1261 POPC_R, 1277 POPC_R,
1262 POPC_IMM, 1278 POPC_IMM,
@@ -1343,6 +1359,7 @@ public:
1343 FloatSetPredicate, 1359 FloatSetPredicate,
1344 IntegerSet, 1360 IntegerSet,
1345 IntegerSetPredicate, 1361 IntegerSetPredicate,
1362 HalfSet,
1346 HalfSetPredicate, 1363 HalfSetPredicate,
1347 PredicateSetPredicate, 1364 PredicateSetPredicate,
1348 PredicateSetRegister, 1365 PredicateSetRegister,
@@ -1516,6 +1533,7 @@ private:
1516 INST("0101110100000---", Id::HFMA2_RR, Type::Hfma2, "HFMA2_RR"), 1533 INST("0101110100000---", Id::HFMA2_RR, Type::Hfma2, "HFMA2_RR"),
1517 INST("01110---0-------", Id::HFMA2_IMM_R, Type::Hfma2, "HFMA2_R_IMM"), 1534 INST("01110---0-------", Id::HFMA2_IMM_R, Type::Hfma2, "HFMA2_R_IMM"),
1518 INST("0101110100100---", Id::HSETP2_R, Type::HalfSetPredicate, "HSETP_R"), 1535 INST("0101110100100---", Id::HSETP2_R, Type::HalfSetPredicate, "HSETP_R"),
1536 INST("0101110100011---", Id::HSET2_R, Type::HalfSet, "HSET2_R"),
1519 INST("0101000010000---", Id::MUFU, Type::Arithmetic, "MUFU"), 1537 INST("0101000010000---", Id::MUFU, Type::Arithmetic, "MUFU"),
1520 INST("0100110010010---", Id::RRO_C, Type::Arithmetic, "RRO_C"), 1538 INST("0100110010010---", Id::RRO_C, Type::Arithmetic, "RRO_C"),
1521 INST("0101110010010---", Id::RRO_R, Type::Arithmetic, "RRO_R"), 1539 INST("0101110010010---", Id::RRO_R, Type::Arithmetic, "RRO_R"),