KRAID Being Developed As New Compiler For Modern Arm Mali Graphics
([Mesa] 6 Hours Ago
KRAID)
- Reference: 0001636362
- News link: https://www.phoronix.com/news/Mesa-Arm-Mali-KRAID
- Source link:
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
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