Mirror of godotengine/moltenvk-osxcross
Find a file
Rémi Verschelde 9a78a98bc9
Merge pull request #5 from godotengine/moltenvk-1.4.1
Update MoltenVK to 1.4.1 (for use with SDK 1.4.335 and later)
2025-12-16 16:45:28 +01:00
.github/workflows Update MoltenVK to 1.4.1 (for use with SDK 1.4.335 and later) 2025-12-16 13:54:22 +01:00
MoltenVK@db445ff204 Update MoltenVK to 1.4.1 (for use with SDK 1.4.335 and later) 2025-12-16 13:54:22 +01:00
patches Update MoltenVK to 1.4.1 (for use with SDK 1.4.335 and later) 2025-12-16 13:54:22 +01:00
.gitmodules Initial commit with submodule, osxcross compat patch, and CI setup 2024-05-16 12:39:09 +02:00
LICENSE Initial commit with submodule, osxcross compat patch, and CI setup 2024-05-16 12:39:09 +02:00
README.md Initial commit with submodule, osxcross compat patch, and CI setup 2024-05-16 12:39:09 +02:00

MoltenVK builds compatible with osxcross

Official Khronos MoltenVK releases are incompatible with current osxcross versions due to Xcode automatically using the -fobjc-msgsend-selector-stubs optimization.

The linker used by osxcross doesn't seem to support these yet, even when compiling against Apple LLVM.

See this upstream issue for details:

This repository simply does it own builds of MoltenVK with these flags added to disable the optimization:

-fno-objc-msgsend-selector-stubs -Wno-unused-command-line-argument

That's the only difference with Khronos' builds.