return unreachable for PM4t0

This commit is contained in:
mailwl 2025-06-08 18:55:27 +03:00
parent fba4639da7
commit 86bdd37d85

View File

@ -229,12 +229,12 @@ Liverpool::Task Liverpool::ProcessGraphics(std::span<const u32> dcb, std::span<c
switch (type) {
default:
UNREACHABLE_MSG("Unsupported PM4 type {}", type);
UNREACHABLE_MSG("Wrong PM4 type {}", type);
break;
case 0:
LOG_ERROR(Render, "Unimplemented PM4 type 0, base reg: {}, count: {}",
header->type0.base.Value(), header->type0.NumWords());
// TODO fill registers with given values
UNREACHABLE_MSG("Unimplemented PM4 type 0, base reg: {}, size: {}",
header->type0.base.Value(), header->type0.NumWords());
// comment "UNREACHABLE_MSG()" above ^^^ to skip "PM4 type 0" command
dcb = NextPacket(dcb, header->type0.NumWords() + 1);
continue;
case 2: