summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-10 00:29:12 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit1be6705408d1a3454146c705fae3dc55031e966e (patch)
tree325133fcabd67f3e21fdb4096b5cc8c59875b7ad /src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp
parentshader: Remove outdated comment in F2I (diff)
downloadyuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.gz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.bz2
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.lz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.xz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.zst
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp
index d8d6c939e..5feefc0ce 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp
@@ -33,9 +33,14 @@ void SHF(TranslatorVisitor& v, u64 insn, const IR::U32& shift, const IR::U32& hi
BitField<0, 8, IR::Reg> dest_reg;
BitField<0, 8, IR::Reg> lo_bits_reg;
BitField<37, 2, MaxShift> max_shift;
+ BitField<47, 1, u64> cc;
BitField<48, 2, u64> x_mode;
BitField<50, 1, u64> wrap;
} const shf{insn};
+
+ if (shf.cc != 0) {
+ throw NotImplementedException("SHF CC");
+ }
if (shf.x_mode != 0) {
throw NotImplementedException("SHF X Mode");
}