sys_patch_dict: Seperate 3802 patch set files

Ensure XPC service is not downgraded
This commit is contained in:
Mykola Grymalyuk
2022-09-07 21:04:22 -06:00
parent 237bb329f2
commit c59f11fea3
3 changed files with 13 additions and 8 deletions

View File

@@ -191,12 +191,11 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
**({ "Metal.framework": "12.5" } if os_major >= os_data.os_data.ventura else {}),
**({ "MetalPerformanceShaders.framework": "12.5" } if os_major >= os_data.os_data.ventura else {}),
},
"/System/Library/Sandbox/Profiles": {
**({ "com.apple.mtlcompilerservice.sb": "12.5" } if os_major >= os_data.os_data.ventura else {}),
}
},
},
# Intel Ivy Bridge, Haswell and Nvidia Kepler are Metal 3802-based GPUs
# Due to this, we need to re-add 3802 compiler support to the Metal stack
"Metal 3802 Common": {
"Display Name": "",
"OS Support": {
@@ -210,10 +209,16 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
},
},
"Install": {
"/System/Library/PrivateFrameworks": {
"MTLCompiler.framework": "12.5",
"GPUCompiler.framework": "12.5",
"/System/Library/Frameworks": {
**({ "Metal.framework": "12.5-3802" } if os_major >= os_data.os_data.ventura else {}),
},
"/System/Library/PrivateFrameworks": {
"MTLCompiler.framework": "12.5-3802",
"GPUCompiler.framework": "12.5-3802",
},
"/System/Library/Sandbox/Profiles": {
**({ "com.apple.mtlcompilerservice.sb": "12.5-3802" } if os_major >= os_data.os_data.ventura else {}),
}
},
},