Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
An On-Disk Shader Cache Revised For Intel's Mesa Driver
The set of patches enable the use of an on-disk shader cache for vertex and fragment shader programs, but currently other advanced shaders are being skipped. Arceri is hoping to get this shader cache to being merged "as soon as possible so that others can begin testing and playing around with it."
The shader cache would benefit those using Intel graphics for Linux gaming by allowing shaders to be cached on the disk rather than needing to be recompiled. Various other Intel Linux GPU drivers have been employing shader caches already to speed up game load times -- e.g. NVIDIA's done a shader cache on Linux since 2011 while Catalyst since 2014. There's been Mesa shader cache work in the past done by Intel for which Timothy Arceri's work is based, but nothing that's been merged for users/gamers.
The on-disk shader cache for the i965 Mesa DRI driver amounts to 65 patches and can be found via this Mesa-dev series. Hopefully the work will get into shape for merging in the next few weeks for the June Mesa update.