summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authornamkazy <nam.kazt.91@gmail.com>2020-03-13 17:45:43 +0100
committernamkazy <nam.kazt.91@gmail.com>2020-03-30 12:44:48 +0200
commit93cac0d2944c1c4d28f335f7060cfe5826050277 (patch)
tree94281001f5928405d2329c6843d7509fe378eddb /src/video_core/shader/decode
parentshader_decode: implement ATOMS instr partial. (diff)
downloadyuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.gz
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.bz2
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.lz
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.xz
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.tar.zst
yuzu-93cac0d2944c1c4d28f335f7060cfe5826050277.zip
Diffstat (limited to 'src/video_core/shader/decode')
-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&
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)));