mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 10:00:00 +00:00
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.
This commit is contained in:
parent
e050594706
commit
dcc5562cd5
1 changed files with 2 additions and 1 deletions
|
@ -386,7 +386,8 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case OpCode::Id::RED: {
|
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] =
|
const auto [real_address, base_address, descriptor] =
|
||||||
TrackGlobalMemory(bb, instr, true, true);
|
TrackGlobalMemory(bb, instr, true, true);
|
||||||
if (!real_address || !base_address) {
|
if (!real_address || !base_address) {
|
||||||
|
|
Loading…
Reference in a new issue