mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
refactor pixel formats
This commit is contained in:
parent
535107e1f4
commit
aa81070e87
6 changed files with 73 additions and 53 deletions
|
@ -45,6 +45,8 @@ MetalRenderer::MetalRenderer()
|
|||
m_recommendedMaxVRAMUsage = m_device->recommendedMaxWorkingSetSize();
|
||||
m_pixelFormatSupport = MetalPixelFormatSupport(m_device);
|
||||
|
||||
CheckForPixelFormatSupport(m_pixelFormatSupport);
|
||||
|
||||
// Resources
|
||||
MTL::SamplerDescriptor* samplerDescriptor = MTL::SamplerDescriptor::alloc()->init();
|
||||
#ifdef CEMU_DEBUG_ASSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue