99from ...shared_patches .monterey_gva import MontereyGVA
1010from ...shared_patches .monterey_opencl import MontereyOpenCL
1111
12+ from ...shared_patches .metal_31001 import LegacyMetal31001
13+
1214from .....constants import Constants
1315from .....detections import device_probe
1416
@@ -70,7 +72,7 @@ def _model_specific_patches(self) -> dict:
7072 "AppleIntelBDWGraphics.kext" : self ._resolve_monterey_framebuffers (),
7173 "AppleIntelBDWGraphicsFramebuffer.kext" : self ._resolve_monterey_framebuffers (),
7274 "AppleIntelBDWGraphicsGLDriver.bundle" : "12.5" ,
73- "AppleIntelBDWGraphicsMTLDriver.bundle" : "12.5-22" if self ._xnu_major < os_data . sequoia else "12.5-24" ,
75+ ** ({ "AppleIntelBDWGraphicsMTLDriver.bundle" : f "12.5-{ self ._xnu_major } " }) ,
7476 "AppleIntelBDWGraphicsVADriver.bundle" : "12.5" ,
7577 "AppleIntelBDWGraphicsVAME.bundle" : "12.5" ,
7678 "AppleIntelGraphicsShared.bundle" : "12.5" ,
@@ -88,6 +90,7 @@ def patches(self) -> dict:
8890 return {}
8991
9092 return {
93+ ** LegacyMetal31001 (self ._xnu_major , self ._xnu_minor , self ._constants .detected_os_version ).patches (),
9194 ** MontereyGVA (self ._xnu_major , self ._xnu_minor , self ._constants .detected_os_version ).patches (),
9295 ** MontereyOpenCL (self ._xnu_major , self ._xnu_minor , self ._constants .detected_os_version ).patches (),
9396 ** self ._model_specific_patches (),
0 commit comments