summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-06-05 01:29:51 +0200
committerSubv <subv2112@gmail.com>2018-06-05 03:17:39 +0200
commit438a9b70ccc4345496bdd6ccc115b3528b40383c (patch)
tree20ee4e7de04dfb14b13461d7e7836524889dec8f /src/video_core/engines
parentMerge pull request #514 from Subv/lop32i (diff)
downloadyuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar.gz
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar.bz2
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar.lz
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar.xz
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.tar.zst
yuzu-438a9b70ccc4345496bdd6ccc115b3528b40383c.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 22c122fcc..da451c4d6 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 Operator
RRO_C, // Range Reduction Operator
RRO_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"),