Autodesk Contributes Mesa Vulkan WSI Support For Apple's Metal

Written by Michael Larabel in Mesa on 18 September 2024 at 03:51 PM EDT. 9 Comments
MESA
An interesting merge request opened this week and already merged for Mesa 24.3 comes from an Autodesk engineer adding Vulkan Windowing System Integration (WSI) around Apple's Metal API for use on macOS.

Aleksi Sapon of Autodesk contributed WSI Metal support to Mesa. The intent here is on better leveraging Mesa's Lavapipe Vulkan software implementation atop Apple macOS systems. Unfortunately no Vulkan hardware driver magic for use on macOS -- for that there is MoltenVK for routing Vulkan API to Metal.

Mesa WSI metal merge screenshot


Sapon explained in the Mesa merge request:
Implement WSI Metal support for macOS. Based on the headless and Win32 implementations. Implements the core functionality.

This takes advantage of unified memory on Apple devices to directly blit the CPU image to the surface, using a "no copy" buffer interpreted as a texture.

The code was merged today for Mesa 24.3. Autodesk dabbling with Vulkan on macOS shouldn't come as too much of a surprise as even all the way back to 2021 Autodesk began exploring MoltenVK use.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week