Skip to content or navigation


Vulkan Coming to Apple — Alternative to Metal API Headed to Mac and iOS

Valve, LunarG and The Brenwill Workshop have joined forces with the Khronos Group to bring the industry-standard low-level graphics API, Vulkan, to the Apple macOS and iOS platforms.

Advertisement

The Khronos Group, an open consortium of leading hardware and software companies creating computer industry open standards, such as OpenGL, WebGL, OpenCL and many others, has announced that the Vulkan® Working Group’s Portability Initiative has been working with Khronos members Valve, LunarG, and The Brenwill Workshop to enable Vulkan applications to be ported to Apple platforms.

Demand for Vulkan on Apple—Here’s the Solution

While Apple has developed its own proprietary Metal, a low-level graphics API (application programming interface), developers wanting to efficiently develop cross-platform applications that utilize low-level, higher performing graphics APIs have not been able to reach Apple’s platforms without costly workarounds, such as developing a Mac version of a game using Metal and a Windows version of a game using DirectX 12.

The big news today is that with the help of Khronos members the Khronos Group is ready to bring Vulkan to developers for Apple’s platforms. The Vulkan Portability Initiative continues to refine and define a universally portable subset of Vulkan 1.0 that can be run at native performance levels over both Apple’s Metal and Microsoft’s DirectX 12 drivers.

01 – This is how the Vulkan API will come to the Apple platforms. (image: The Khronos Group / Architosh. All rights reserved.)

Released into open source today is the MoltenVK library from The Brenwill Workshop, which translates calls within the Vulkan portable subset to underlying Metal calls on macOS and iOS. MoltenVK uses the open source SPIRV-Cross cross-compiler to translate Vulkan shaders into underlying native code shader formats.

 

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…

 

“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.”

Further Details

“With MoltenVK, we’ve worked hard to bring a consistent Vulkan-based API to macOS and iOS while maintaining the performance improvements required by modern game developers,” said Bill Hollings, President of The Brenwill Workshop.

Also available today will be the open source LunarG Vulkan SD for macOS on LunarXchange, which enables software developers to build, run, and debug their Vulkan applications for the Apple Mac platform. The LunarG SDK for macOS provides loader and validation layers, which allows programmers to check their code for correct API usage. LunarG will continue to evolve the macOS SDK to add additional tools and features.

02 – The market demand for portability is very high and Vulkan looks to solve and address portability challenges better than any other solution, offering an alternative path to OpenGL.

The Khronos Group’s Portability Landing Page links to an open source collection of tools, SDKs, and runtime libraries to enable Vulkan development on macOS and deployment on macOS and iOS platforms. Valve is extending Dota 2 using the Vulkan tools on macOS to achieve significantly higher performance than native OpenGL® drivers.

The Khronos Group has been instrumental in developing and shepherding industry standards for the benefit of the entire computing industry. Pivotal achievements affecting the CAD, BIM, and 3D industries include most importantly the cross-platform graphics API, OpenGL. It has been OpenGL ES’s achievement that led to universal graphics across multiple competing mobile devices platforms and gaming platforms. To learn more about The Khronos Group go here.

Architosh Analysis and Commentary

In speaking with Neil Trevett, VP at NVIDIA and Khronos Group President, he mentioned that getting these new developers tools out into the community means software developers, including pro app developers, can now start considering utilizing Vulkan as their primary graphics API for their games and apps. 

Trevett told Architosh that 95 percent of the Metal API is covered in the Vulkan portable subset library by MoltenVK; there are only five things not covered which are rarer items that if a developer was previously using with Metal they would need to rewrite their app or devise a workaround. 

Key information not discussed in the press release but shared with Architosh include the following items:

  • The MoltenVK library was previously something developers acquired. Now it is open source due to a nondisclosed business arrangement between Valve and The Brenwill Workshop. Valve is a major game platform software company, responsible for the incredibly popular Steam platform, its work with HTV Vive VR headset and many games
  • Trevett also mentioned that Vulkan has been incredibly popular with developers in the gaming space because it allows for them to write once and deploy across platforms, desktop and mobile. Developers can utilize OpenGL today to do the same thing but the performance benefits are clear. Valve’s Dota 2 game is running 50 percent faster using Vulkan than OpenGL using these just released APIs and toolsets. 
  • Trevett said no pro app developers have started investigating using these new Vulkan tools for reaching Apple platforms. It should be noted that CAD market, in particular, is slow to move to new technologies and it would be expected that the gaming developers would be driving this forward. 

 

SaveSaveSaveSaveSaveSave

SaveSave

Reader Comments

Comments for this story are closed

architosh

INSIDER Xpresso 
Monthly newsletter with a focus on emTech (AI, machine learning, AAD, AR, robotics, 3d printing, and smart cities) its impact on CAD professionals.)

Subscribe now — it’s free!.

INSIDER Xpresso keeps CAD industry professionals up-to-date on next-gen emerging technologies (emTech) that will revolutionize the worlds of AEC and manufacturing and design. As an Xpresso reader, you will hear from some of the most important voices inventing and using the very latest tech in areas such as AI, machine learning, algorithm-aided design (AAD), AR, VR, MR, 3D printing, 3D computer vision, robotics, and SmartCities technologies.

Each issue arrives in your inbox on the first Sunday of the month. Issue #1 arrived on March 3, 2019. Full archives and easy navigation for your pleasure. Enjoy! 

Sign-up for our monthly newsletter
architosh INSIDER Xpresso.

  • Architosh will never pass any of your information onto third parties.
  • For more information read our privacy policy.
  • It is easy to unsubscribe at any time. Follow the links in the newletter footer.

(Recommended. These infrequent sponsored emails help us to provide our Xpresso newsletter for free.)

 
INSIDER Membership

Read 3 free Feature or Analysis articles per month.

Or, subscribe now for unlimited full access to Architosh.