mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-01 12:46:01 +00:00
Handle INDIRECT_BUFFER_CONST in ProcessCeUpdate (#1613)
This commit is contained in:
parent
ae79b50700
commit
649df86146
|
@ -161,6 +161,19 @@ Liverpool::Task Liverpool::ProcessCeUpdate(std::span<const u32> ccb) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case PM4ItOpcode::IndirectBufferConst: {
|
||||||
|
const auto* indirect_buffer = reinterpret_cast<const PM4CmdIndirectBuffer*>(header);
|
||||||
|
auto task = ProcessCeUpdate(
|
||||||
|
{indirect_buffer->Address<const u32>(), indirect_buffer->ib_size});
|
||||||
|
while (!task.handle.done()) {
|
||||||
|
task.handle.resume();
|
||||||
|
|
||||||
|
TracyFiberLeave;
|
||||||
|
co_yield {};
|
||||||
|
TracyFiberEnter(ccb_task_name);
|
||||||
|
};
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
const u32 count = header->type3.NumWords();
|
const u32 count = header->type3.NumWords();
|
||||||
UNREACHABLE_MSG("Unknown PM4 type 3 opcode {:#x} with count {}",
|
UNREACHABLE_MSG("Unknown PM4 type 3 opcode {:#x} with count {}",
|
||||||
|
|
Loading…
Reference in a new issue