summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-27 09:26:29 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commit0e1b213fa7fcc19cd76c215986bd606605b3ef60 (patch)
tree87308363e77fc1e0d9bd1fc35ea22caeaa646fdb /src/shader_recompiler/frontend/maxwell/translate
parentshader: Better interpolation and disabled attributes support (diff)
downloadyuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar.gz
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar.bz2
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar.lz
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar.xz
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.tar.zst
yuzu-0e1b213fa7fcc19cd76c215986bd606605b3ef60.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
index ca28c6dd9..e8f35552c 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp
@@ -52,10 +52,14 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
BitField<13, 1, u64> src_fmt_sign;
BitField<41, 3, u64> selector;
BitField<45, 1, u64> neg;
+ BitField<47, 1, u64> cc;
BitField<49, 1, u64> abs;
BitField<50, 1, u64> sat;
} const i2i{insn};
+ if (i2i.cc != 0) {
+ throw NotImplementedException("I2I CC");
+ }
if (i2i.sat != 0) {
throw NotImplementedException("I2I SAT");
}