diff options
| author | FernandoS27 <fsahmkow27@gmail.com> | 2021-03-27 04:19:38 +0100 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:24 -0400 |
| commit | ed3f77cebed6a8d147bb82bc9d434931384b9cf2 (patch) | |
| tree | 2a9d73369452f82581742fd6357c583f14d42f50 /src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp | |
| parent | 47fc2a05106ac11ea592e84117c53f2b70db88b2 (diff) | |
shader: Fix TXQ
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp | 2 |
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 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) { |
