Skip to content

Commit 7cd561d

Browse files
committed
GS:MTL: 32K texture support for M5+
1 parent aaf8eae commit 7cd561d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pcsx2/GS/Renderers/Metal/GSMTLDeviceInfo.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ static DetectionResult detectIntelGPU(id<MTLDevice> dev, id<MTLLibrary> lib)
200200
{
201201
if (@available(macOS 10.15, iOS 13.0, *))
202202
{
203+
MTLGPUFamily apple10 = static_cast<MTLGPUFamily>(1010); // Avoid relying on latest SDK, define ourselves
204+
if ([dev supportsFamily:apple10])
205+
return 32768;
203206
if ([dev supportsFamily:MTLGPUFamilyApple3])
204207
return 16384;
205208
}

0 commit comments

Comments
 (0)