Update without re-compile shaders if it's not related to shaders #125
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#125
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
@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 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: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.