Skip to content

Commit

Permalink
GS:MTL: Add Intel HD 4000 to the list of GPUs to use PixelFormatView on
Browse files Browse the repository at this point in the history
No clue why, but apparently this helps them a lot, at least on OCLP Big Sur
  • Loading branch information
TellowKrinkle committed Jun 2, 2024
1 parent af8fdae commit 8625e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/Metal/GSMTLDeviceInfo.mm
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static DetectionResult detectIntelGPU(id<MTLDevice> dev, id<MTLLibrary> lib)
if (char* env = getenv("MTL_SLOW_COLOR_COMPRESSION"))
features.slow_color_compression = env[0] == '1' || env[0] == 'y' || env[0] == 'Y';
else
features.slow_color_compression = [[dev name] containsString:@"AMD"];
features.slow_color_compression = [[dev name] containsString:@"AMD"] || [[dev name] isEqualToString:@"Intel HD Graphics 4000"];

features.max_texsize = 8192;
if ([dev supportsFeatureSet:MTLFeatureSet_macOS_GPUFamily1_v1])
Expand Down

0 comments on commit 8625e30

Please sign in to comment.