VERY experimental Nintendo Switch 2 emulator
C++
shader: Fix TXQ
FernandoS27ed3f77cebed6
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cppindex e8ea8faebb..8c7e04bcab 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp+++ b/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) {