summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-12-20 21:41:27 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-12-20 21:55:42 +0100
commitcf27b59493501787320764889a0375711c3f68e1 (patch)
tree023528e2ffbae8c335dc24f836ccef5e98f261b1 /src/video_core/engines/shader_bytecode.h
parentMerge pull request #3234 from ReinUsesLisp/i2f-u8-selector (diff)
downloadyuzu-cf27b59493501787320764889a0375711c3f68e1.tar
yuzu-cf27b59493501787320764889a0375711c3f68e1.tar.gz
yuzu-cf27b59493501787320764889a0375711c3f68e1.tar.bz2
yuzu-cf27b59493501787320764889a0375711c3f68e1.tar.lz
yuzu-cf27b59493501787320764889a0375711c3f68e1.tar.xz
yuzu-cf27b59493501787320764889a0375711c3f68e1.tar.zst
yuzu-cf27b59493501787320764889a0375711c3f68e1.zip
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index dfb12cd2d..269ed6127 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -1051,7 +1051,7 @@ union Instruction {
BitField<40, 1, R2pMode> mode;
BitField<41, 2, u64> byte;
BitField<20, 7, u64> immediate_mask;
- } r2p;
+ } p2r_r2p;
union {
BitField<39, 3, u64> pred39;
@@ -1801,6 +1801,7 @@ public:
PSET,
CSETP,
R2P_IMM,
+ P2R_IMM,
XMAD_IMM,
XMAD_CR,
XMAD_RC,
@@ -2106,6 +2107,7 @@ private:
INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"),
INST("010100001010----", Id::CSETP, Type::PredicateSetPredicate, "CSETP"),
INST("0011100-11110---", Id::R2P_IMM, Type::RegisterSetPredicate, "R2P_IMM"),
+ INST("0011100-11101---", Id::P2R_IMM, Type::RegisterSetPredicate, "P2R_IMM"),
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"),