diff options
| -rw-r--r-- | src/video_core/shader/decode/memory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp index 0883240fc..e59bfa25e 100644 --- a/src/video_core/shader/decode/memory.cpp +++ b/src/video_core/shader/decode/memory.cpp | |||
| @@ -461,9 +461,9 @@ std::tuple<Node, Node, GlobalMemoryBase> ShaderIR::TrackGlobalMemory(NodeBlock& | |||
| 461 | 461 | ||
| 462 | const auto [base_address, index, offset] = | 462 | const auto [base_address, index, offset] = |
| 463 | TrackCbuf(addr_register, global_code, static_cast<s64>(global_code.size())); | 463 | TrackCbuf(addr_register, global_code, static_cast<s64>(global_code.size())); |
| 464 | ASSERT_OR_EXECUTE_MSG( | 464 | ASSERT_OR_EXECUTE_MSG(base_address != nullptr, |
| 465 | base_address != nullptr, { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); }, | 465 | { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); }, |
| 466 | "Global memory tracking failed"); | 466 | "Global memory tracking failed"); |
| 467 | 467 | ||
| 468 | bb.push_back(Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]", index, offset))); | 468 | bb.push_back(Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]", index, offset))); |
| 469 | 469 | ||