mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoBackends:Metal: Bring back unified memory config
Turns out it was helpful. (Most improvement in ubershaders.) This time with much better auto mode.
This commit is contained in:
parent
93ce7bf344
commit
c08de82e90
11 changed files with 201 additions and 16 deletions
|
@ -36,6 +36,7 @@ std::vector<BBoxType> Metal::BoundingBox::Read(u32 index, u32 length)
|
|||
{
|
||||
g_state_tracker->EndRenderPass();
|
||||
g_state_tracker->FlushEncoders();
|
||||
g_state_tracker->NotifyOfCPUGPUSync();
|
||||
g_state_tracker->WaitForFlushedEncoders();
|
||||
return std::vector<BBoxType>(m_cpu_buffer_ptr + index, m_cpu_buffer_ptr + index + length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue