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.
Raspberry Pi "V3D" OpenGL Driver Improving Performance With On-Disk Shader Cache
Igalia has wired up the V3D on-disk shader cache support for caching compiled shaders to disk. This avoids recompiling shaders on subsequent loads for games and other applications. This can speed-up game load times and help in the performance in-game for those that load their shaders as needed.
This V3D shader cache work is sponsored by the Raspberry Pi Foundation and works across vertex / geometry / fragment / compute shaders. The V3DV Vulkan driver already had shader cache support.
As part of this V3D shader cache work, the V3D_DEBUG=cache environment variable is also added for helping to analyze the on-disk shader cache behavior.
More details on the Mesa GitLab for this long overdue V3D on-disk shader cache support.