summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-02-22 06:45:50 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commit18a766b3622baa40596490dbd4912f94e9980a76 (patch)
treede34dbbbd81f6f980308b165a812445b224bd8fb /src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp
parentspirv: Fixes and Intel specific workarounds (diff)
downloadyuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar.gz
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar.bz2
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar.lz
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar.xz
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.tar.zst
yuzu-18a766b3622baa40596490dbd4912f94e9980a76.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp
index b752785d4..d8a5158b5 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp
@@ -56,12 +56,12 @@ void SHL(TranslatorVisitor& v, u64 insn, const IR::U32& unsafe_shift) {
}
} // Anonymous namespace
-void TranslatorVisitor::SHL_reg(u64) {
- throw NotImplementedException("SHL_reg");
+void TranslatorVisitor::SHL_reg(u64 insn) {
+ SHL(*this, insn, GetReg20(insn));
}
-void TranslatorVisitor::SHL_cbuf(u64) {
- throw NotImplementedException("SHL_cbuf");
+void TranslatorVisitor::SHL_cbuf(u64 insn) {
+ SHL(*this, insn, GetCbuf(insn));
}
void TranslatorVisitor::SHL_imm(u64 insn) {