Mirror of godotengine/moltenvk-osxcross
Find a file
Rémi Verschelde 2715feee88
Merge pull request #3 from godotengine/moltenvk-1.3.0
Update MoltenVK to 1.3.0 (next Vulkan SDK)
2025-06-06 00:40:42 +02:00
.github/workflows Update macOS version on CI 2025-06-05 23:23:05 +02:00
MoltenVK@49b97f26ae Update MoltenVK to 1.3.0 (next Vulkan SDK) 2025-06-06 00:20:52 +02:00
patches Update MoltenVK to 1.3.0 (next Vulkan SDK) 2025-06-06 00:20:52 +02: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.