mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
Copy ce data to gpu when dumping constants
This commit is contained in:
parent
39ac0997f2
commit
00fc4ef296
@ -174,8 +174,14 @@ Liverpool::Task Liverpool::ProcessCeUpdate(std::span<const u32> ccb) {
|
||||
}
|
||||
case PM4ItOpcode::DumpConstRam: {
|
||||
const auto* dump_const = reinterpret_cast<const PM4DumpConstRam*>(header);
|
||||
if (rasterizer) {
|
||||
rasterizer->InlineData(dump_const->Address<VAddr>(),
|
||||
cblock.constants_heap.data() + dump_const->Offset(),
|
||||
dump_const->Size(), false);
|
||||
} else {
|
||||
memcpy(dump_const->Address<void*>(),
|
||||
cblock.constants_heap.data() + dump_const->Offset(), dump_const->Size());
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PM4ItOpcode::IncrementCeCounter: {
|
||||
|
Loading…
Reference in New Issue
Block a user