Repository navigation
Conversation
5 of 12 tasks
v0lumehi
force-pushed
the
nsp-chain-event
branch
from
October 28, 2026 02:02
7b2c86b to
6827a4d
Compare
…aries cannot be reused With --progress json, a shaders_stale event (reason chain or inputs, old, new, count) goes out once before the shader step rebuilds libraries that a translation chain or profile input change made unusable, with a [NOTE] line. Until now the libraries of another chain were ignored without a word.
v0lumehi
force-pushed
the
nsp-chain-event
branch
from
October 30, 2026 09:54
6827a4d to
89ec252
Compare
seedds
added a commit
that referenced
this pull request
Oct 31, 2026
Emit a shaders_stale event before rebuilding libraries after a chain or profile input change, with the same explanation in human progress modes. Check completion stamps separately for the selected targets so partial current-chain outputs cannot hide old libraries. Count each current shader key once per selected target instead of summing retained historical copies. Document the count as scheduled base libraries, including cache restores, and cover interrupted rebuilds, mixed targets and duplicate old caches. Co-authored-by: v0lumehi <[email protected]>
Owner
|
Landed on
Validation: 107 tests passed across Regression level: low, because only reporting and its tests/docs changed; no game regression runs. No shader-chain tool changed. Confidence is high in both corrections; they are generalized root-cause fixes, with no game-specific rules or workarounds. Credited @v0lumehi as co-author because the original event/protocol implementation is retained. Closing as landed. |
Know-It-All-Brother
pushed a commit
to Know-It-All-Brother/nxnative
that referenced
this pull request
Nov 9, 2026
Emit a shaders_stale event before rebuilding libraries after a chain or profile input change, with the same explanation in human progress modes. Check completion stamps separately for the selected targets so partial current-chain outputs cannot hide old libraries. Count each current shader key once per selected target instead of summing retained historical copies. Document the count as scheduled base libraries, including cache restores, and cover interrupted rebuilds, mixed targets and duplicate old caches. Co-authored-by: v0lumehi <[email protected]>
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.
What and why
A change to the shader translation chain (
DMSH_CHAIN) or to a profile's shader inputs makes the cached libraries unusable (b-<V>/, stampinputs.tsv). The NSP script then rebuilt them without a word: a front end saw only the long shader stage. Front ends that want to explain it had to match a text line.With
--progress jsonthe script now sends oneshaders_staleevent (reasonchainorinputs,old,new,count) before the rebuild, plus a[NOTE]line in every mode. A step that reuses its libraries, or has none cached, sends nothing. Documented in docs/frontends.md (Building). Part of the runtime/build-events interface in #388.Checked
Docs