Repository navigation
Conversation
…cript The 148 ms warm against 37,672 ms cold for the same 751 programs is the biggest single number we have, and nothing in docs/linux.md told a user how to keep it. The play script now sets MESA_SHADER_CACHE_DIR inside the prefix, MESA_SHADER_CACHE_DISABLE=false and MESA_SHADER_CACHE_MAX_SIZE=8G (16 GiB planned, untested), the new section spells out the per-prefix consequence and the read-only option, and ROADMAP and the quick start link to it. Closes pablogonz12#66.
Owner
|
Ported onto the unified core as #113 (docs/linux.md kept no Mesa cache section, so the section went in as written); branch kept. |
pablogonz12
added a commit
that referenced
this pull request
Nov 25, 2026
docs: the Mesa shader cache, sized, per prefix, and set in the play script (from #93)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #66.
What changes. A "Mesa shader cache" subsection in
docs/linux.md§4: the measured numbers (751 programs, 37,672 ms cold against 148 ms warm, 8.7 MB in 253 files), the exact environment for a saved run (MESA_SHADER_CACHE_DIRinside the prefix,MESA_SHADER_CACHE_DISABLE=false,MESA_SHADER_CACHE_MAX_SIZE=8G, with 16 GiB named as planned and untested), the per-prefix consequence spelled out (another prefix pays the whole cold cost, which looks like a code regression), andMESA_SHADER_CACHE_READ_ONLY=1mentioned as the only way to ship a prebuilt cache and not what the script does. The play script sets the three variables. Cross-links fromdocs/ROADMAP.md("Mesa cache sizing") and the README quick start.Evidence. Written against the page as a newcomer reads it; no game data, counts only.
cargo xtask policypasses.