aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-19 21:14:58 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:23 -0400
commitc97d03efb9e02f89cca6dfea4c8d5c37fc4a2adc (patch)
tree29825907a8fbf4d866d8a67bf3c0fb53a85e8e72
parenteeb1efa2d2947faed55340e8aec3a0187a3729a1 (diff)
shader: Implement ISCADD (imm)
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp
index f06046d4da..5469e445ae 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp
@@ -57,8 +57,8 @@ void TranslatorVisitor::ISCADD_cbuf(u64) {
throw NotImplementedException("ISCADD (cbuf)");
}
-void TranslatorVisitor::ISCADD_imm(u64) {
- throw NotImplementedException("ISCADD (imm)");
+void TranslatorVisitor::ISCADD_imm(u64 insn) {
+ ISCADD(*this, insn, GetImm20(insn));
}
void TranslatorVisitor::ISCADD32I(u64) {