diff options
author | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 15:46:21 +0200 |
---|---|---|
committer | namkazy <nam.kazt.91@gmail.com> | 2020-03-30 15:46:21 +0200 |
commit | cb0a4151f8bfad4d41c26ddeedcf1293f21bd487 (patch) | |
tree | 549b37193dc60c055c0364c00b008cc6c973b1c6 /src/video_core/shader/decode/memory.cpp | |
parent | gl_decompiler: min/max op not implement yet (diff) | |
download | yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar.gz yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar.bz2 yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar.lz yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar.xz yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.tar.zst yuzu-cb0a4151f8bfad4d41c26ddeedcf1293f21bd487.zip |
Diffstat (limited to 'src/video_core/shader/decode/memory.cpp')
-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& const auto [base_address, index, offset] = TrackCbuf(addr_register, global_code, static_cast<s64>(global_code.size())); - ASSERT_OR_EXECUTE_MSG( - base_address != nullptr, { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); }, - "Global memory tracking failed"); + ASSERT_OR_EXECUTE_MSG(base_address != nullptr, + { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); }, + "Global memory tracking failed"); bb.push_back(Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]", index, offset))); |