mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-20 07:37:01 +00:00
add an option to force mesh shaders
This commit is contained in:
parent
06491baafa
commit
d4e2135725
6 changed files with 16 additions and 5 deletions
|
|
@ -170,7 +170,7 @@ MetalRenderer::MetalRenderer()
|
|||
m_supportsFramebufferFetch = GetConfig().framebuffer_fetch.GetValue() ? m_device->supportsFamily(MTL::GPUFamilyApple2) : false;
|
||||
m_hasUnifiedMemory = m_device->hasUnifiedMemory();
|
||||
m_supportsMetal3 = m_device->supportsFamily(MTL::GPUFamilyMetal3);
|
||||
m_supportsMeshShaders = (m_supportsMetal3 && m_vendor != GfxVendor::Intel); // Intel GPUs have issues with mesh shaders
|
||||
m_supportsMeshShaders = (m_supportsMetal3 && (m_vendor != GfxVendor::Intel || GetConfig().force_mesh_shaders.GetValue())); // Intel GPUs have issues with mesh shaders
|
||||
m_recommendedMaxVRAMUsage = m_device->recommendedMaxWorkingSetSize();
|
||||
m_pixelFormatSupport = MetalPixelFormatSupport(m_device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue