shader_recompiler: list all missing instructions during translation pass

This commit is contained in:
psucien 2024-06-16 23:45:39 +02:00
parent 396812bab6
commit 0c32ea242b
5 changed files with 9 additions and 1 deletions

View file

@ -673,7 +673,9 @@ void Translate(IR::Block* block, std::span<const GcnInst> inst_list, Info& info)
break;
default:
const u32 opcode = u32(inst.opcode);
UNREACHABLE_MSG("Unknown opcode {} ({})", magic_enum::enum_name(inst.opcode), opcode);
LOG_ERROR(Render_Recompiler, "Unknown opcode {} ({})",
magic_enum::enum_name(inst.opcode), opcode);
info.translation_failed = true;
}
}
}