News: 0001637737

  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)

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

([Mesa] 6 Hours Ago KRAID)


As a follow-up to the article last week about [1]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.

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



[1] https://www.phoronix.com/news/Mesa-Arm-Mali-KRAID

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



Q: How can I choose what groups to post in? ...
Q: How about an example?

A: Ok. Let's say you want to report that Gretzky has been traded from the
Oilers to the Kings. Now right away you might think rec.sport.hockey
would be enough. WRONG. Many more people might be interested. This is a
big trade! Since it's a NEWS article, it belongs in the news.* hierarchy
as well. If you are a news admin, or there is one on your machine, try
news.admin. If not, use news.misc.

The Oilers are probably interested in geology, so try sci.physics. He is
a big star, so post to sci.astro, and sci.space because they are also
interested in stars. Next, his name is Polish sounding. So post to
soc.culture.polish. But that group doesn't exist, so cross-post to
news.groups suggesting it should be created. With this many groups of
interest, your article will be quite bizarre, so post to talk.bizarre as
well. (And post to comp.std.mumps, since they hardly get any articles
there, and a "comp" group will propagate your article further.)

You may also find it is more fun to post the article once in each group.
If you list all the newsgroups in the same article, some newsreaders will
only show the article to the reader once! Don't tolerate this.
-- Brad Templeton, _Emily Postnews Answers Your Questions on Netiquette_