diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-10 00:29:12 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 1be6705408d1a3454146c705fae3dc55031e966e (patch) | |
tree | 325133fcabd67f3e21fdb4096b5cc8c59875b7ad /src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp | |
parent | shader: Remove outdated comment in F2I (diff) | |
download | yuzu-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/bitfield_extract.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp index 4a03e6939..0738ae7a6 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp @@ -14,9 +14,14 @@ void BFE(TranslatorVisitor& v, u64 insn, const IR::U32& src) { BitField<0, 8, IR::Reg> dest_reg; BitField<8, 8, IR::Reg> offset_reg; BitField<40, 1, u64> brev; + BitField<47, 1, u64> cc; BitField<48, 1, u64> is_signed; } const bfe{insn}; + if (bfe.cc != 0) { + throw NotImplementedException("BFE CC"); + } + const IR::U32 offset{v.ir.BitFieldExtract(src, v.ir.Imm32(0), v.ir.Imm32(8), false)}; const IR::U32 count{v.ir.BitFieldExtract(src, v.ir.Imm32(8), v.ir.Imm32(8), false)}; |