summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-03-27 04:19:38 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commitcdf0cc38698bf31773edd0016d5171bd11b966d0 (patch)
tree2a9d73369452f82581742fd6357c583f14d42f50
parentshader: Fix rasterizer integration order issues (diff)
downloadyuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar.gz
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar.bz2
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar.lz
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar.xz
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.tar.zst
yuzu-cdf0cc38698bf31773edd0016d5171bd11b966d0.zip
-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) {
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) {