From cdf0cc38698bf31773edd0016d5171bd11b966d0 Mon Sep 17 00:00:00 2001
From: FernandoS27 <fsahmkow27@gmail.com>
Date: Sat, 27 Mar 2021 04:19:38 +0100
Subject: [PATCH] shader: Fix TXQ

---
 .../frontend/maxwell/translate/impl/texture_query.cpp           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 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) {