Mesa's NIR Linker Taking On More Duties - Further Enhancing Linker Speed

Written by Michael Larabel in Mesa on 8 January 2020 at 12:04 AM EST. 1 Comment
The NIR intermediate representation is already faster than GLSL IR and TGSI but could be seeing even quicker linking speeds moving forward.

Beyond other recent NIR achievements like RadeonSI now exclusively relying on NIR, a now-merged set of patches by Valve open-source developer Timothy Arceri works on nursing NIR into more roles.

The new code in Mesa 20.0-devel further moves the NIR linker closer to handling uniforms and varyings, which will allow more GLSL IR optimization passes moving forward and as part of that faster linking of compiled shaders.

These NIR improvements are still ongoing but great to see all of the work continued and embracing around this modern graphics intermediate representation by Mesa drivers. Mesa 20.0 as the next stable step forward should be out around the end of February.
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