Nouveau Patch For Enabling The GLSL/TGSI On-Disk Shader Cache

Written by Michael Larabel in Mesa on 11 March 2017 at 09:59 AM EST. 5 Comments
MESA
A patch is now available for enabling the GLSL/TGSI on-disk shader cache for the Nouveau Gallium3D driver.

A patch has emerged for enabling the GLSL/TGSI on-disk shader cache within the Nouveau Gallium3D common code. This doesn't come as a big surprise or huge feat given the TGSI on-disk shader cache has largely been common to Gallium3D / Mesa state tracker to begin with and is caching this Gallium3D IR as opposed to the hardware-specific generated shader binaries.

This Nouveau TGSI shader cache should be of similar benefit to the RadeonSI shader cache, albeit this open-source AMD driver code has since advanced to also support the caching of the final shader binaries.

This Nouveau intermediary shader cache patch is less than three dozen lines of code and can be found for now on the Mesa-dev list.
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