GS:MTL: 32K texture support for M5+

This commit is contained in:
TellowKrinkle
2026-04-15 21:52:24 +02:00
committed by lightningterror
parent 601b0e60ea
commit 4f5bde2cef
@@ -200,6 +200,9 @@ u32 GSMTLDevice::GetMaxTextureSize(id<MTLDevice> dev)
{
if (@available(macOS 10.15, iOS 13.0, *))
{
MTLGPUFamily apple10 = static_cast<MTLGPUFamily>(1010); // Avoid relying on latest SDK, define ourselves
if ([dev supportsFamily:apple10])
return 32768;
if ([dev supportsFamily:MTLGPUFamilyApple3])
return 16384;
}