refactor pixel formats

This commit is contained in:
Samuliak 2024-09-16 19:44:49 +02:00
parent 535107e1f4
commit aa81070e87
6 changed files with 73 additions and 53 deletions

View file

@ -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