Intel i965 Mesa Driver Finally Lands Its On-Disk Shader Cache

Written by Michael Larabel in Intel on 1 November 2017 at 06:17 AM EDT. 2 Comments
INTEL
Intel developers have finally landed their patches for supporting the i965 Mesa OpenGL on-disk shader cache.

While RadeonSI has implemented its on-disk shader cache since earlier this year, the Intel shader cache that originally pre-dates that work was finally carried over the finish line last night and are now in Git. This work is present for the Mesa 18.0 release due out in early 2018 and not the upcoming Mesa 17.3 update due out in about two weeks.

The purpose of an OpenGL on-disk shader cache is to allow GLSL shaders to be cached to the HDD/SSD in order to speed-up game load times on subsequent loads by not having to recompile the shaders, help stabilize frame-rates/performance for games that may frequently be requesting shaders during game time, etc. The Mesa shader cache tends to especially help Shadow of Mordor and other games.

At this time the Intel OpenGL shader cache isn't enabled by default but requires the MESA_GLSL_CACHE_DISABLE=0 environment variable be set. Benchmarks coming up shortly.
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