summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar namkazy2020-03-13 23:45:43 +0700
committerGravatar namkazy2020-03-30 17:44:48 +0700
commit93cac0d2944c1c4d28f335f7060cfe5826050277 (patch)
tree94281001f5928405d2329c6843d7509fe378eddb /src
parentshader_decode: implement ATOMS instr partial. (diff)
downloadyuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.gz
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.xz
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.zip
clang-format
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/decode/memory.cpp6
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 f5a6964bc..98ae474e6 100644
--- a/src/video_core/shader/decode/memory.cpp
+++ b/src/video_core/shader/decode/memory.cpp
@@ -459,9 +459,9 @@ std::tuple<Node, Node, GlobalMemoryBase> ShaderIR::TrackGlobalMemory(NodeBlock&
459 459
460 const auto [base_address, index, offset] = 460 const auto [base_address, index, offset] =
461 TrackCbuf(addr_register, global_code, static_cast<s64>(global_code.size())); 461 TrackCbuf(addr_register, global_code, static_cast<s64>(global_code.size()));
462 ASSERT_OR_EXECUTE_MSG( 462 ASSERT_OR_EXECUTE_MSG(base_address != nullptr,
463 base_address != nullptr, { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); }, 463 { return std::make_tuple(nullptr, nullptr, GlobalMemoryBase{}); },
464 "Global memory tracking failed"); 464 "Global memory tracking failed");
465 465
466 bb.push_back(Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]", index, offset))); 466 bb.push_back(Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]", index, offset)));
467 467