Browse Source

shader: Fix TXQ

nce_cpp
FernandoS27 5 years ago
committed by ameerj
parent
commit
ed3f77cebe
  1. 2
      src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp

2
src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp

@ -66,7 +66,7 @@ void TranslatorVisitor::TXQ(u64 insn) {
BitField<36, 13, u64> cbuf_offset;
} const txq{insn};
Impl(*this, insn, static_cast<u32>(txq.cbuf_offset));
Impl(*this, insn, static_cast<u32>(txq.cbuf_offset * 4));
}
void TranslatorVisitor::TXQ_b(u64 insn) {

Loading…
Cancel
Save