mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 06:21:19 +12:00
do GPU texture loading on non-apple GPUs
This commit is contained in:
parent
b59dbfc9c3
commit
69a36246fb
6 changed files with 16 additions and 8 deletions
|
@ -132,7 +132,7 @@ void MetalMemoryManager::InitBufferCache(size_t size)
|
|||
return;
|
||||
}
|
||||
|
||||
m_bufferCache = m_mtlr->GetDevice()->newBuffer(size, m_mtlr->GetOptimalResourceStorageMode() | MTL::ResourceCPUCacheModeWriteCombined);
|
||||
m_bufferCache = m_mtlr->GetDevice()->newBuffer(size, m_mtlr->GetOptimalBufferStorageMode() | MTL::ResourceCPUCacheModeWriteCombined);
|
||||
#ifdef CEMU_DEBUG_ASSERT
|
||||
m_bufferCache->setLabel(GetLabel("Buffer cache", m_bufferCache));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue