Docs: shader/pipeline cache label (NONE/PARTIAL/FULL) in every release

This commit is contained in:
gamingwithhomie
2026-12-06 03:00:30 +05:30
parent 6887d56c3c
commit 81c1e1d800

View File

@ -28,6 +28,18 @@ The FULL zip is the whole package (`configure.cmd`, `series-x.cmd`, `series-s.cm
Extract a new FULL zip to a *new* folder, then copy `cache\`, `data\` and `game-dir.txt` from the old folder. Or simply use the UPDATE zip over your existing folder. Starting from an empty `cache\` forces a full shader recompile (slow, once per translator change).
## Shader/pipeline cache label (in every release's notes)
Every release states, right under its title, what updating from the previous release does to your cache — so you can skip an update if you don't want to recompile:
| Label | Meaning |
|---|---|
| **NONE** | No shader/pipeline recompile. Drop-in `larp.exe` update, first launch is normal. |
| **PARTIAL** | Only pipelines for new/changed features are created on first launch (a bit longer, not a full recompile). The existing shader cache is reused. |
| **FULL** | The shader translator or replacement shaders changed, so the first launch recompiles all shaders/pipelines (can take a while). Later launches reuse the new cache. Keep your `cache\` folder — it is invalidated automatically, deleting it changes nothing. |
The label is per file when a release ships different builds (e.g. the NVIDIA zip can be **NONE** while the Linux zip in the same release is **FULL**). Maintainers: the label is decided by whether `crates/larp-shader/`, `crates/larp-gpu/src/shader_cache.rs` or `shaders/replace/` changed since the previous tag (`git diff <prev-tag>..<tag> -- crates/larp-shader crates/larp-gpu/src/shader_cache.rs shaders`) — any change there means **FULL** for that build; pipeline-only feature work is **PARTIAL**; neither is **NONE**.
## Verifying a download
Every release lists the SHA-256 of its zips and of `bin\larp.exe` in its notes. In PowerShell: `Get-FileHash .\the-file.zip -Algorithm SHA256`.