summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-29 05:44:03 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit2e5af95541adf581364ee3864be57f9b2b9a230f (patch)
tree939e3d203ecc1ea98fae168745004c28cdb9b007 /src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
parentshader: Account for 33-bit IADD3 scenario (diff)
downloadyuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.gz
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.bz2
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.lz
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.xz
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.tar.zst
yuzu-2e5af95541adf581364ee3864be57f9b2b9a230f.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
index 10d05dc4c..06fde0017 100644
--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
@@ -174,7 +174,7 @@ std::string DumpTree(const Tree& tree, u32 indentation = 0) {
switch (stmt->type) {
case StatementType::Code:
ret += fmt::format("{} Block {:04x} -> {:04x} (0x{:016x});\n", indent,
- stmt->block->begin, stmt->block->end,
+ stmt->block->begin.Offset(), stmt->block->end.Offset(),
reinterpret_cast<uintptr_t>(stmt->block));
break;
case StatementType::Goto: