summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar tech4me2018-08-23 15:46:59 -0400
committerGravatar tech4me2018-08-23 15:46:59 -0400
commitba2972bc64ee894af59840a3321427bf538b95d5 (patch)
tree35841af21fda878f662bbd47bbdc09d5fd6d85da /src
parentMerge pull request #1160 from bunnei/surface-reserve (diff)
downloadyuzu-ba2972bc64ee894af59840a3321427bf538b95d5.tar.gz
yuzu-ba2972bc64ee894af59840a3321427bf538b95d5.tar.xz
yuzu-ba2972bc64ee894af59840a3321427bf538b95d5.zip
Shaders: Added decodings for IADD3 instructions
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/shader_bytecode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index a36df65f9..7fd622159 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -636,6 +636,9 @@ public:
636 IADD_C, 636 IADD_C,
637 IADD_R, 637 IADD_R,
638 IADD_IMM, 638 IADD_IMM,
639 IADD3_C,
640 IADD3_R,
641 IADD3_IMM,
639 IADD32I, 642 IADD32I,
640 ISCADD_C, // Scale and Add 643 ISCADD_C, // Scale and Add
641 ISCADD_R, 644 ISCADD_R,
@@ -854,6 +857,9 @@ private:
854 INST("0100110000010---", Id::IADD_C, Type::ArithmeticInteger, "IADD_C"), 857 INST("0100110000010---", Id::IADD_C, Type::ArithmeticInteger, "IADD_C"),
855 INST("0101110000010---", Id::IADD_R, Type::ArithmeticInteger, "IADD_R"), 858 INST("0101110000010---", Id::IADD_R, Type::ArithmeticInteger, "IADD_R"),
856 INST("0011100-00010---", Id::IADD_IMM, Type::ArithmeticInteger, "IADD_IMM"), 859 INST("0011100-00010---", Id::IADD_IMM, Type::ArithmeticInteger, "IADD_IMM"),
860 INST("010011001100----", Id::IADD3_C, Type::ArithmeticInteger, "IADD3_C"),
861 INST("010111001100----", Id::IADD3_R, Type::ArithmeticInteger, "IADD3_R"),
862 INST("0011100-1100----", Id::IADD3_IMM, Type::ArithmeticInteger, "IADD3_IMM"),
857 INST("0001110---------", Id::IADD32I, Type::ArithmeticIntegerImmediate, "IADD32I"), 863 INST("0001110---------", Id::IADD32I, Type::ArithmeticIntegerImmediate, "IADD32I"),
858 INST("0100110000011---", Id::ISCADD_C, Type::ArithmeticInteger, "ISCADD_C"), 864 INST("0100110000011---", Id::ISCADD_C, Type::ArithmeticInteger, "ISCADD_C"),
859 INST("0101110000011---", Id::ISCADD_R, Type::ArithmeticInteger, "ISCADD_R"), 865 INST("0101110000011---", Id::ISCADD_R, Type::ArithmeticInteger, "ISCADD_R"),