Skip to content
Snippets Groups Projects
Unverified Commit 9864da7d authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #4524 from lioncash/memory-log

shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
parents 1bb8c27a dcc5562c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment