Nouveau Switches Over To NIR Backend By Default

Written by Michael Larabel in Nouveau on 30 April 2022 at 06:48 AM EDT. 4 Comments
NOUVEAU
As part of Mesa preparing to drop its old GLSL to TGSI code path and routing more Mesa drivers through using the NIR intermediate representation, the Nouveau Gallium3D driver code has switched to using this modern IR by default.

Emma Anholt made the change and landed it on Friday for enabling the NIR back-end by default with the Nouveau driver. Emma noted, "The NIR backend should reduce the compile time regression while providing more direct control over the IR we receive than going through NTT, while still providing the optimization that NIR-to-TGSI was bringing us."


The NIR results for the generated instructions are yielding some efficiency improvements for this open-source NVIDIA Linux graphics driver.

More details via this merge request that has now landed in Mesa 22.2.
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