mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 23:41:18 +12:00
improve host and device shared buffer cache modes
This commit is contained in:
parent
fbea328b9b
commit
a00d409ab7
3 changed files with 23 additions and 9 deletions
|
@ -88,8 +88,8 @@ MetalRenderer::MetalRenderer()
|
|||
m_depthStencilCache = new MetalDepthStencilCache(this);
|
||||
m_samplerCache = new MetalSamplerCache(this);
|
||||
|
||||
// Lower the commit treshold when host memory is used for cache to reduce latency
|
||||
if (m_memoryManager->UseHostMemoryForCache())
|
||||
// Lower the commit treshold when buffer cache needs reduced latency
|
||||
if (m_memoryManager->NeedsReducedLatency())
|
||||
m_defaultCommitTreshlod = 64;
|
||||
else
|
||||
m_defaultCommitTreshlod = 196;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue