VERY experimental Nintendo Switch 2 emulator
C++
GPU: Added decodings for the ISCADD instructions.
Subv4e153d2bd676
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.hindex 22c122fcc5..da451c4d62 100644--- a/src/video_core/engines/shader_bytecode.h+++ b/src/video_core/engines/shader_bytecode.h@@ -362,6 +362,9 @@ public:FMUL_R,FMUL_IMM,FMUL32_IMM,+ ISCADD_C, // Scale and Add+ ISCADD_R,+ ISCADD_IMM,MUFU, // Multi-Function OperatorRRO_C, // Range Reduction OperatorRRO_R,@@ -405,6 +408,7 @@ public:Trivial,Arithmetic,Logic,+ ScaledAdd,Ffma,Flow,Memory,@@ -528,6 +532,9 @@ private:INST("0101110001101---", Id::FMUL_R, Type::Arithmetic, "FMUL_R"),INST("0011100-01101---", Id::FMUL_IMM, Type::Arithmetic, "FMUL_IMM"),INST("00011110--------", Id::FMUL32_IMM, Type::Arithmetic, "FMUL32_IMM"),+ INST("0100110000011---", Id::ISCADD_C, Type::ScaledAdd, "ISCADD_C"),+ INST("0101110000011---", Id::ISCADD_R, Type::ScaledAdd, "ISCADD_R"),+ INST("0011100-00011---", Id::ISCADD_IMM, Type::ScaledAdd, "ISCADD_IMM"),INST("0101000010000---", Id::MUFU, Type::Arithmetic, "MUFU"),INST("0100110010010---", Id::RRO_C, Type::Arithmetic, "RRO_C"),INST("0101110010010---", Id::RRO_R, Type::Arithmetic, "RRO_R"),