mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
check for pixel format support
This commit is contained in:
parent
69a36246fb
commit
ca256eb764
7 changed files with 64 additions and 11 deletions
|
@ -36,6 +36,7 @@ MetalRenderer::MetalRenderer()
|
|||
// Feature support
|
||||
m_hasUnifiedMemory = m_device->hasUnifiedMemory();
|
||||
m_isAppleGPU = m_device->supportsFamily(MTL::GPUFamilyApple1);
|
||||
m_pixelFormatSupport = MetalPixelFormatSupport(m_device);
|
||||
|
||||
// Resources
|
||||
MTL::SamplerDescriptor* samplerDescriptor = MTL::SamplerDescriptor::alloc()->init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue