VOOZH about

URL: https://www.phoronix.com/news/KRAID-Merged-To-Mesa

⇱ New "KRAID" Compiler Merged To Mesa For Panfrost/PanVK Drivers - Phoronix


👁 Phoronix

New "KRAID" Compiler Merged To Mesa For Panfrost/PanVK Drivers

Written by Michael Larabel in Mesa on 3 June 2026 at 05:44 AM EDT. Add A Comment
As a follow-up to the article last week about KRAID as a new compiler for modern Arm Mali graphics, that initial code has now been merged to Mesa 26.2 for benefiting the Panfrost and PanVK open-source drivers.

Faith Ekstrand of Collabora has been spearheading the effort on KRAID as this new graphics shader compiler for Arm Mali v9 "Valhall" and newer Mali graphics. KRAID is inspired by the NAK compiler from the open-source NVIDIA NVK Vulkan driver in Mesa.

While still in its early stages, it should ultimately be a much better compiler for modern Arm Mali graphics archirectures than their old Bifrost compiler. There are many new features supported and it's written in the Rust programming language.

KRAID isn't yet ready for end-users but has passed its first dEQP test and will now begin to be developed within the Mesa tree to ease the development burden. Building KRAID requires the "-Dpanfrost-rust" Meson build option as well as the "PAN_USE_KRAID" environment variable being set.

👁 KRAID merged


Those wanting to learn more about this initial now-merged compiler code can find it on GitHub. It will be interesting to see how the KRAID compiler matures over the coming months.

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.