Update without re-compile shaders if it's not related to shaders #125

Closed
opened 2026-12-05 19:20:00 +00:00 by github-bot · 3 comments
Owner

@⁠W-MrBlue on GitHub · 2026-12-05 19:17 UTC · original

Compiling shaders now is pretty time-consuming.
Hope it's possible to make use of the old cache if nothing about shaders is changed

**@⁠W-MrBlue** on GitHub · 2026-12-05 19:17 UTC · [original](https://github.com/gamingwithhomie/larp/issues/125) Compiling shaders now is pretty time-consuming. Hope it's possible to make use of the old cache if nothing about shaders is changed
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:20:01 +00:00
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 20:52 UTC · original

Improved in v1.1.1: the cache key already only changes when shader-translator sources change (PR #38 fixed the line-ending churn), and #109/#147 cut the per-launch pipeline work. Releases that dont touch the translator reuse the old cache as-is. v1.1.1 itself does touch the translator (#142/#147), so it needs one full recompile, then its stable again. Tip: copy cache\ into the new folder when updating instead of starting empty.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 20:52 UTC · [original](https://github.com/gamingwithhomie/larp/issues/125#issuecomment-7445184387) Improved in **v1.1.1**: the cache key already only changes when shader-translator sources change (PR #38 fixed the line-ending churn), and #109/#147 cut the per-launch pipeline work. Releases that dont touch the translator reuse the old cache as-is. v1.1.1 itself does touch the translator (#142/#147), so it needs one full recompile, then its stable again. Tip: copy `cache\` into the new folder when updating instead of starting empty.
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 21:30 UTC · original

Done - every release now states its shader/pipeline cache impact right under the title, so you can skip updates that would recompile: NONE (drop-in, no recompile), PARTIAL (only new-feature pipelines, cache reused), FULL (first launch recompiles everything). Retroactively labeled: v1.1.2 NVIDIA zip = NONE from v1.1.1, v1.1.2 Linux/AMD = FULL (translator changed), v1.1.1 = FULL, v1.1.0 = PARTIAL. The rule is also written down in docs/releases.md (its decided by whether the shader translator/replacement shaders changed since the previous tag, and well label every future release).

**@⁠gamingwithhomie** on GitHub · 2026-12-05 21:30 UTC · [original](https://github.com/gamingwithhomie/larp/issues/125#issuecomment-7445725877) Done - every release now states its shader/pipeline cache impact right under the title, so you can skip updates that would recompile: **NONE** (drop-in, no recompile), **PARTIAL** (only new-feature pipelines, cache reused), **FULL** (first launch recompiles everything). Retroactively labeled: v1.1.2 NVIDIA zip = **NONE** from v1.1.1, v1.1.2 Linux/AMD = **FULL** (translator changed), v1.1.1 = **FULL**, v1.1.0 = **PARTIAL**. The rule is also written down in `docs/releases.md` (its decided by whether the shader translator/replacement shaders changed since the previous tag, and well label every future release).
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 21:35 UTC · original

Closing as answered/implemented: see the comment above - every release now labels its shader/pipeline cache impact (NONE/PARTIAL/FULL) under the title, and the rule is documented in docs/releases.md. v1.1.2 (NVIDIA) is NONE from v1.1.1 if you want a no-recompile update to verify it on.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 21:35 UTC · [original](https://github.com/gamingwithhomie/larp/issues/125#issuecomment-7445801136) Closing as answered/implemented: see the comment above - every release now labels its shader/pipeline cache impact (NONE/PARTIAL/FULL) under the title, and the rule is documented in docs/releases.md. v1.1.2 (NVIDIA) is NONE from v1.1.1 if you want a no-recompile update to verify it on.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#125
No description provided.