summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/memory.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-14 14:32:32 +0200
committerLioncash <mathew1800@gmail.com>2020-08-14 14:38:37 +0200
commitdcc5562cd5a9734de9d4473e984a1bbc260e1a63 (patch)
tree030d8a04d156bb452b7f319a18b99c483a9b23b6 /src/video_core/shader/decode/memory.cpp
parentMerge pull request #4495 from lioncash/conv (diff)
downloadyuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.gz
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.bz2
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.lz
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.xz
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.zst
yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.zip
Diffstat (limited to 'src/video_core/shader/decode/memory.cpp')
-rw-r--r--src/video_core/shader/decode/memory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp
index e4739394d..e2bba88dd 100644
--- a/src/video_core/shader/decode/memory.cpp
+++ b/src/video_core/shader/decode/memory.cpp
@@ -386,7 +386,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) {
break;
}
case OpCode::Id::RED: {
- UNIMPLEMENTED_IF_MSG(instr.red.type != GlobalAtomicType::U32);
+ UNIMPLEMENTED_IF_MSG(instr.red.type != GlobalAtomicType::U32, "type={}",
+ static_cast<int>(instr.red.type.Value()));
const auto [real_address, base_address, descriptor] =
TrackGlobalMemory(bb, instr, true, true);
if (!real_address || !base_address) {