Add KosmicKrisp translation layer for macOS 26+

- Mesa 26.0 introduced KosmicKrisp, a Vulkan-on-Metal translation layer and the eventual successor to MoltenVK
This commit is contained in:
KeatonTheBot
2026-09-08 16:18:41 -05:00
parent 9bf15801fd
commit 329bc34bf7
30 changed files with 310 additions and 239 deletions
@@ -48,7 +48,7 @@ def get_new_name(
return Path(os.path.join(output_directory, input_component))
def get_archs(dylib_path: Path) -> list[str]:
res = subprocess.check_output([LIPO, "-info", str(dylib_path)]).decode("utf-8")
res = subprocess.check_output([LIPO, "-info", str(dylib_path.absolute())]).decode("utf-8")
if res.startswith("Non-fat file"):
return [res.split(":")[-1].strip()]
else: