Nouveau NIR Support Lands In Mesa 19.1 Git

Written by Michael Larabel in Nouveau on 17 March 2019 at 01:44 PM EDT. Add A Comment
It shouldn't come as any surprise, but landing today in Mesa 19.1 Git is the initial support for the Nouveau Gallium3D code to make use of the NIR intermediate representation as an alternative to Gallium's TGSI.

The Nouveau NIR support is part of the lengthy effort by Red Hat developers on supporting this IR as part of their SPIR-V and compute upbringing. The NIR support is also a stepping stone towards a potential NVIDIA Vulkan driver in the future.

Mesa 19.1's Nouveau code isn't defaulting to use the NIR intermediate representation over TGSI but requires setting the "NV50_PROG_USE_NIR=1" environment variable if wanting to try out this experimental code path.

It will be interesting to try out this code once its further matured and particularly when Nouveau manages to have working OpenCL/SYCL support.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week