RadeonSI Quietly Landed A Shader Cache As A Last Feature For Mesa 11.2
Written by Michael Larabel in Radeon on 23 February 2016 at 11:05 AM EST. 34 Comments
RADEON --
An in-memory shader cache landed for the RadeonSI Gallium3D driver on Sunday and made it in time for the Mesa 11.2 branching.

Marek Olšák pushed a number of code commits to Mesa on Sunday that ended with support for binary shaders and shader cache in memory.

The shader cache should cut down on RadeonSI needing to re-compile shaders for the same game. Unlike the proprietary drivers and other shader cache implementations, this RadeonSI shader cache isn't written out to disk but is just stored on a per-screen/process basis. Caching them avoids the process of having to compiler shaders from Gallium3D's IR (TGSI) to the hardware bytecode. Many shader types are cached but not currently compute or geometry shaders.

Those wishing to find out more about the RadeonSI shader cache can find details via the code comments on this Git commit. According to at least one reader, this new shader cache is improving the Linux gaming experience for using this open-source driver on Radeon HD 7000 series and newer GPUs.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Radeon News
Popular News