summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/frontend')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp
index e8ea8faeb..8c7e04bca 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) {
66 BitField<36, 13, u64> cbuf_offset; 66 BitField<36, 13, u64> cbuf_offset;
67 } const txq{insn}; 67 } const txq{insn};
68 68
69 Impl(*this, insn, static_cast<u32>(txq.cbuf_offset)); 69 Impl(*this, insn, static_cast<u32>(txq.cbuf_offset * 4));
70} 70}
71 71
72void TranslatorVisitor::TXQ_b(u64 insn) { 72void TranslatorVisitor::TXQ_b(u64 insn) {