diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-27 06:16:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 06:16:10 +0200 |
commit | 9864da7d43cd6fca1d48762fde7405269b821c68 (patch) | |
tree | 43e599f926e383fa56a85e09f138c3c257ab6a48 | |
parent | Merge pull request #4569 from ReinUsesLisp/glsl-cmake (diff) | |
parent | shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message (diff) | |
download | yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.gz yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.bz2 yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.lz yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.xz yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.tar.zst yuzu-9864da7d43cd6fca1d48762fde7405269b821c68.zip |
-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) { 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) { |