News: 0001636362

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

KRAID Being Developed As New Compiler For Modern Arm Mali Graphics

([Mesa] 6 Hours Ago KRAID)


KRAID is a new Rust-written shader compiler currently being developed for the Panfrost/PanVK open-source Arm Mali driver code. KRAID is designed for Mali's Valhall graphics processors and new as a modern, clean sheet design.

Faith Ekstrand of Collabora announced the initial KRAID code for this new compiler for Arm Mali v9 "Valhall" and newer. KRAID is inspired by the NVIDIA NVK Vulkan driver's NAK compiler.

KRAID is still in the early development stages but now passing its first dEQP compliance test and able to translate from NIR to appropriate hardware instructions. While still in development, the KRAID compiler is likely to be merged soon to mainline Mesa with it then being developed in-tree. While being developed the new compiler will be hidden behind the -Dpanfrost-rust Meson build option.

[1]

Those wanting to learn more about the KRAID compiler can do so via this initial [2]merge request for Mesa.



[1] https://www.phoronix.com/image-viewer.php?id=2026&image=kraid_lrg

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41841



Workers of the world, arise! You have nothing to lose but your chairs.