summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-08-27 00:16:10 -0400
committerGravatar GitHub2020-08-27 00:16:10 -0400
commit9864da7d43cd6fca1d48762fde7405269b821c68 (patch)
tree43e599f926e383fa56a85e09f138c3c257ab6a48 /src
parentMerge pull request #4569 from ReinUsesLisp/glsl-cmake (diff)
parentshader/memory: Amend UNIMPLEMENTED_IF_MSG without a message (diff)
downloadyuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.gz
yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.xz
yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.zip
Merge pull request #4524 from lioncash/memory-log
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
Diffstat (limited to 'src')
-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) {
386 break; 386 break;
387 } 387 }
388 case OpCode::Id::RED: { 388 case OpCode::Id::RED: {
389 UNIMPLEMENTED_IF_MSG(instr.red.type != GlobalAtomicType::U32); 389 UNIMPLEMENTED_IF_MSG(instr.red.type != GlobalAtomicType::U32, "type={}",
390 static_cast<int>(instr.red.type.Value()));
390 const auto [real_address, base_address, descriptor] = 391 const auto [real_address, base_address, descriptor] =
391 TrackGlobalMemory(bb, instr, true, true); 392 TrackGlobalMemory(bb, instr, true, true);
392 if (!real_address || !base_address) { 393 if (!real_address || !base_address) {