Gallium3D Now Supports NIR Shader Disk Cache
Written by Michael Larabel in Mesa on 10 February 2018 at 07:15 AM EST. 7 Comments
With the Gallium3D OpenGL on-disk shader cache most notably used right now by the RadeonSI driver, TGSI is the intermediate representation currently being cached to the disk for speeding up game load times, etc. Given the RadeonSI NIR back-end continuing to mature, Timothy Arceri of Valve has added NIR caching support.

With the latest Mesa Git, there is now NIR shader disk cache support, including for NIR compute shaders. The infrastructure is largely the same but modifications had to be made for handling NIR rather than TGSI into the Mesa state tracker. After that infrastructure work he went through and turned it on for RadeonSI.

This and other NIR improvements are in place for Mesa 18.1. When trying out the RadeonSI NIR back-end last month, it still left a lot to be desired but is being quickly improved upon by Valve and AMD developers.
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