GS:MTL: Add Intel HD 4000 to the list of GPUs to use PixelFormatView on

No clue why, but apparently this helps them a lot, at least on OCLP Big Sur
This commit is contained in:
TellowKrinkle 2023-09-25 23:11:36 -05:00 committed by TellowKrinkle
parent af8fdae75e
commit 8625e30dc6
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ GSMTLDevice::GSMTLDevice(MRCOwned<id<MTLDevice>> dev)
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])