diff options
| author | 2020-08-14 08:32:32 -0400 | |
|---|---|---|
| committer | 2020-08-14 08:38:37 -0400 | |
| commit | dcc5562cd5a9734de9d4473e984a1bbc260e1a63 (patch) | |
| tree | 030d8a04d156bb452b7f319a18b99c483a9b23b6 | |
| parent | Merge pull request #4495 from lioncash/conv (diff) | |
| download | yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.gz yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.tar.xz yuzu-dcc5562cd5a9734de9d4473e984a1bbc260e1a63.zip | |
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
We need to provide a message for this variant of the macro, so we can
simply log out the type being used.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/shader/decode/memory.cpp | 3 |
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) { |