Vulkan Apps Now Compatible With macOS and iOS - MacRumors
Skip to Content

Vulkan Apps Now Compatible With macOS and iOS

by

Popular cross-platform 3D graphics and compute API Vulkan is gaining support for the Apple ecosystem, which means Mac and iOS developers will be able to build and run Vulkan apps on Apple devices.

Valve, LunarG, and The Brenwill Workshop, members of The Khronos Group consortium that developed Vulkan, have worked together with the Khronos Group Portability Initiative to allow Vulkan apps to be ported to Apple platforms.

vulkanappsmac
The aim of Khronos Group’s Vulkan Portability Initiative is a universal subset of Vulkan 1.0 that is designed to run at native performance levels over Metal and DirectX 12 drivers. Metal and DirectX 12 are able to support almost all of Vulkan, with the exception of elements like triangle fans, separate stencil reference masks, Vulkan Event functionality, and a few other features.

Valve used Vulkan tools on macOS with Dota 2 and was able to achieve "significantly higher performance" than native OpenGL drivers.

vulkandota2
An open source collection of tools, SDKs, and runtime libraries that enable Vulkan development and deployment on macOS and iOS is now available on the Portability Landing Page on the Khronos Group website. With Vulkan support for Mac and iOS devices, developers will be able to support multiple platforms while cutting down on porting and development costs.

"Running Vulkan applications on Apple platforms has been the number one request from developers and today’s release of the MoltenVK runtime and LunarG macOS SDK brings that capability to life,” said Neil Trevett, VP NVIDIA and Khronos Group President. “Developers are invited to download the open source Vulkan Portability tools today and provide feedback via Vulkan Ecosystem GitHub Issue. The Vulkan Portability Initiative will continue to strengthen the infrastructure and tooling around bringing Vulkan capabilities to multiple Metal and DX12 platforms - our long-term goal is to enable portable Vulkan code to be executed on any platform that developers care about."

Starting today, a MoltenVK library from The Brenwill Workshop that translates Vulkan calls into Metal calls on macOS and iOS is being open sourced.

The open source LunarG Vulkan SDK for macOS is also available today on LunarXchange, enabling developers to build, run, and debug Vulkan applications on Mac. Going forward, LunarG plans to continue to evolve its Mac SDK to add additional tools and features.

More information on Vulkan support for Apple devices can be found on The Khronos Group website.

Top Rated Comments

113 months ago
I don’t believe that MoltenVK will be immediately useful to most serious Mac games developers. Aspyr, Feral, Unity and here at Epic we already have direct, native Metal backends that are (or at least should be) faster and support a greater range of features than another intermediate translation library.

Specifically MoltenVK has a list of limitations that make it sufficient for porting mobile Vulkan games and games with a primarily D3D9-era rendering engine, but probably inadequate for most modern D3D11+ game engines.

Principally anything that requires geometry shaders or tessellation shaders is currently not going to work as MoltenVK doesn’t support them. They are *optional* features in Vulkan so it can still call itself conformant by contrast for D3D these are *required* features in D3D11 onward so games do use them, sometimes extensively. Moreover the approach MoltenVK takes to recompiling shaders makes it infeasible to impossible for them to be supported without significant work and performance penalties. Metal doesn’t have direct equivalents so the MoltenVK library would need to defer SPIRV to Metal translation until said shaders are used together in a Shader Pipeline at runtime. Only then could it recompile them to Metal and emulate all the necessary behaviour but this would result in a big performance hit on the CPU. It would also be harder to adopt the native features offered by Mac Metal to deal with these cases and hurt GPU performance.

The other gotcha will be emulating type conversion of data between the resources and the shader. Metal doesn’t have a performant way to do that in all cases right now, so you need to use multiple different techniques to achieve the result while minimising the performance penalty. MoltenVK appears to support only a trivial subset of D3D’s implicit resource type casts which wouldn’t be enough for UE4.

I wish them well in their efforts but this is not going to magically result in better performance in games shipped by Feral, or Epic, etc. It might well end up making it easier for smalller studios with their own engines, esp. mobile focused developers, and that is no bad thing.
Score: 10 Votes (Like | Disagree)
Janichsan Avatar
113 months ago
Does seem like Metal was a step in the right direction, but could be overshadowed by a better standard?
Better? Maybe not, but cross-platform instead of proprietary.
Score: 8 Votes (Like | Disagree)
113 months ago
Why? What would be the issue there? Lacking hardware support on iOS devices?
Mobile GPUs are architecturally *very* different from desktop GPUs so don't have the same features. Metal's API design was predominantly driven by the needs & capabilities of iOS GPUs, hence why geometry shaders are absent and why the tessellation pipeline is completely different to D3D.

Obviously the macOS hardware could support these features in a way that is directly equivalent to D3D and were Apple to do that and developers elected to use said features then those titles would need more work to run on iOS. That being said, it already takes *substantial* effort to rework a macOS title to fit on iOS, as shown by Aspyr's heroic efforts with Civ VI and Feral's equally impressive Rome & GRID ports. Given the difference in performance profile of iOS vs. macOS devices it probably wouldn't really matter as any game that used these features would likely not be viable anyway.
Score: 5 Votes (Like | Disagree)
113 months ago
Maybe I'm wrong here, but my understanding is that you do not have to translate the SPIRV shaders to MSL at runtime. MoltenVK apparently comes with a separate conversion tool ('https://www.moltengl.com/docs/readme/moltenvk-readme-user-guide.html') that's supposed to allow you to do this beforehand, and then you can pass your MSL shaders directly to your Vulkan code.



It's surely an extra step during the porting process, but you wouldn't have to deal with the performance hit.
That’s what I said sir, by doing this offline for SPIRV you avoid the runtime performance hit BUT you CANNOT use some/all Metal specific feature and you CANNOT emulate geometry or tessellation shaders. Emulating them requires the full set of shaders in a pipeline so that you can rewrite them to use Metal’s similar but not equivalent features. That is known only at runtime in most engines - not all though. That means combining vertex + (hull and/or geometry) shader stages into compute shaders that must run in an earlier compute command buffer, separate to the later draw call that uses the (domain + pixel shader). Plus all the associated buffer allocations and resource binding shenanigans- it’s actually bloody hard work to get right!
[doublepost=1519686438][/doublepost]
@marksatt

Good to hear some input from someone with good insight. :)

Quite a bit off-topic, but do you know what's going on with the major pauses/lag in between seemingly good frame rates in the MacOS version of Fortnite?

https://www.dropbox.com/s/nzt0h1s9hvrzgad/Fortnite_major_hiccups.m4v?dl=0

Or is the problem I see perhaps related to the NVIDIA Web Driver which is required for the GTX 970 I have to work in MacOS? Sorry, maybe I should report this somewhere else…
Looks like it is either texture streaming or shader compilation or a combination of the two. I’ve explained the challenges of dealing with the initial shader setup at runtime, even with precompiled shaders, elsewhere. It still isn’t a solved problem in UE4 or Fortnite and it likely never will be perfect. This isn’t the forum to report problems - that should be done over at the Fortnite forums and the feedback mechanism ('https://www.epicgames.com/fortnite/forums/bugs-issues/bug-reports').
Score: 3 Votes (Like | Disagree)
113 months ago
I wish everyone would just stop using DirectX and Metal and just use Vulkan. That way, there's only one 3D library and in the future, porting games to different platforms is a lot easier.
Realistically, since so many games now are made in an engine such as Unity or Unreal, porting games has already been mostly trivial a lot of the time. It's not as common these days to have to actually port a game from scratch where you worry about the details of Vulkan, Metal, etc. Now you have to worry about developers signing up to be published by Microsoft, who then prohibits the game from appearing on non-Microsoft platforms even though there are no technical issues preventing it.

--Eric
Score: 3 Votes (Like | Disagree)
113 months ago
Live long and prosper.
Score: 3 Votes (Like | Disagree)

Popular Stories

iphone duo standby

Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases

Saturday October 17, 2026 2:30 pm PDT by
Some Apple retail employees have been told to warn customers against visiting to purchase an iPhone Duo without a pre-order on Friday, October 23. Apple Store employees told MacRumors that they have been advised that there will likely be no iPhone Duo stock available for walk-in purchases on launch day. Staff have been instructed to discourage customers without pre-orders from coming in...
iPhone Handoff Feature

Verizon Will Charge $10 a Month for iPhone Handoff

Friday October 16, 2026 4:37 pm PDT by
Verizon plans to charge customers $10 per month for the iPhone Handoff feature that Apple added in iOS 27. iPhone Handoff allows one phone number to be shared across two separate iPhones. Pricing was included in Verizon's iPhone Duo announcement today, with the carrier confirming iPhone Handoff will work with the iPhone Duo and the iPhone 18 Pro models. Verizon will support iPhone Handoff,...
Black Apple Event Logo

Apple Now Inviting Media to October 28 'Launch Experience'

Thursday October 15, 2026 4:13 am PDT by
Apple has begun inviting selected members of the media to a product launch experience in Los Angeles on Wednesday, October 28, according to Bloomberg's Mark Gurman. In a post on X, Gurman described the gathering as an "all-day product launch experience" for touchscreen MacBooks, a new iPad mini, and Macs equipped with M6 chips. Gurman previously reported that Apple would introduce the...
Latest Stories
Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases
Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases
14 hours ago
Apple Hires Former Meta Lawyer to Oversee Global Litigation
Apple Hires Former Meta Lawyer to Oversee Global Litigation
15 hours ago
Top Stories: Apple HomeView, New Apple TV and HomePod mini, and Sold-Out iPhone Duo
Top Stories: Apple HomeView, New Apple TV and HomePod mini, and Sold-Out iPhone Duo
23 hours ago
Verizon Will Charge $10 a Month for iPhone Handoff
Verizon Will Charge $10 a Month for iPhone Handoff
2 days ago
Apple Calls iPhone Duo Demand 'Extraordinary' After Orders Slip to 2027
Apple Calls iPhone Duo Demand 'Extraordinary' After Orders Slip to 2027
2 days ago
New App Store Rules Target AI Deepfakes and Nudify Apps
New App Store Rules Target AI Deepfakes and Nudify Apps
2 days ago
Didn't Pre-Order Apple's HomeView? Here's How Long the Wait is Now
Didn't Pre-Order Apple's HomeView? Here's How Long the Wait is Now
2 days ago
Apple's $79 iPhone Duo Case Sticks On With Adhesive
Apple's $79 iPhone Duo Case Sticks On With Adhesive
2 days ago
Apple TV 4K and HomePod Mini Price Increases 'Much More Striking' Than New Features
Apple TV 4K and HomePod Mini Price Increases 'Much More Striking' Than New Features
2 days ago
The MacRumors Show: Was HomeView Worth the Wait?
The MacRumors Show: Was HomeView Worth the Wait?
2 days ago
Apple Refers to HomeView as 'HomePodDevice' in Legal Document
Apple Refers to HomeView as 'HomePodDevice' in Legal Document
2 days ago
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
2 days ago
Developers Question Scope of Potential Apple Antitrust Settlement
Developers Question Scope of Potential Apple Antitrust Settlement
2 days ago
iPhone Duo Resold for $5,000 on eBay After Selling Out
iPhone Duo Resold for $5,000 on eBay After Selling Out
2 days ago
Massive Discounts Hit 2026 MacBook Pro With Up to $800 Off
Massive Discounts Hit 2026 MacBook Pro With Up to $800 Off
2 days ago
iPhone Duo is Sold Out for Christmas as Shipping Estimates Slip to 2027
iPhone Duo is Sold Out for Christmas as Shipping Estimates Slip to 2027
2 days ago
Didn't Pre-Order an iPhone Duo Yet? Wait Times Are Significant Now
Didn't Pre-Order an iPhone Duo Yet? Wait Times Are Significant Now
2 days ago
First Apple TV 4K Pre-Order Discount Arrives at Amazon
First Apple TV 4K Pre-Order Discount Arrives at Amazon
2 days ago
iPhone Duo Pre-Order Deals: The Best Carrier Offers From AT&T and T-Mobile
iPhone Duo Pre-Order Deals: The Best Carrier Offers From AT&T and T-Mobile
2 days ago
iPhone Duo Now Available to Pre-Order From Apple
iPhone Duo Now Available to Pre-Order From Apple
2 days ago
iPhone 18 Pro vs. iPhone Duo Buyer's Guide: Which Should You Choose?
iPhone 18 Pro vs. iPhone Duo Buyer's Guide: Which Should You Choose?
2 days ago
Apple Store Down Ahead of iPhone Duo Pre-Orders
Apple Store Down Ahead of iPhone Duo Pre-Orders
2 days ago
Oops, Apple's Website Just Hinted at iPad Mini 8
Oops, Apple's Website Just Hinted at iPad Mini 8
2 days ago
OLED MacBook Pro Won't Get M7 Chips Until Late 2027
OLED MacBook Pro Won't Get M7 Chips Until Late 2027
3 days ago
Apple Pledged $25 Million to Trump's White House Ballroom
Apple Pledged $25 Million to Trump's White House Ballroom
3 days ago
Touchscreen MacBook Pro Could Launch on November 6
Touchscreen MacBook Pro Could Launch on November 6
3 days ago
New Withings Users Must Pay $99/Year for Apple Health Syncing
New Withings Users Must Pay $99/Year for Apple Health Syncing
3 days ago
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
3 days ago
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
3 days ago
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
3 days ago