Skip to content

Commit

Permalink
sys_patch_dict.py: Limit MTL patch to 12.5 and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Aug 6, 2022
1 parent cd12762 commit f0cf0a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/sys_patch_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
"GeForceVADriver.bundle": "12.0 Beta 6",
},
"/System/Library/Frameworks": {
"Metal.framework": "12.5 Beta 2",
# XNU 21.6 (macOS 12.5)
**({ "Metal.framework": "12.5 Beta 2"} if os_data.os_conversion.is_os_newer(os_data.os_data.monterey, 5, os_major, os_minor) else {})
},
},
},
Expand Down

0 comments on commit f0cf0a7

Please sign in to comment.