mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
GS:MTL: 32K texture support for M5+
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user