TGSI To NIR Improvements Hit Mesa 19.2 For RadeonSI
Written by Michael Larabel in Mesa on 12 August 2019 at 05:10 PM EDT. 6 Comments
AMD Mesa lead developer Marek Olšák has landed a set of improvements to the TGSI-to-NIR pass today for Mesa 19.2 to enhance the RadeonSI driver's support for using this intermediate representation.

The "tgsi_to_nir" code for going from the traditional Gallium3D IR to the increasingly used "NIR" has seen support for more operations and also basic compute shader support is now in place. Marek landed these improvements over the course of several commits today for the still-open Mesa 19.2 code-base.

RadeonSI has been pursuing NIR support as part of their OpenGL 4.6 upbringing in order to re-use code shared with the RADV driver, which is designed around NIR.

For the moment those wanting to test the RadeonSI driver's NIR code-path can use the R600_DEBUG=nir environment variable.
Related News
About The Author
Author picture

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 or contacted via

Popular News This Week