Repository navigation
docs: map shader roles for a world frame - #69
Merged
Merged
Conversation
simnJS
reviewed
Nov 25, 2026
simnJS
left a comment
Collaborator
There was a problem hiding this comment.
Thank you, this is a careful map: 212 unique hashes, every link resolves, and nothing from the title. A few points before I approve:
1cd9bc634417a981(line 73):lighting-terms.md§3 also lists a directional-light term and a specular term. Please add them and cite §3.lighting-terms.mdnames four more programs:fb9c7f430da14c4c,5741294cf872ffb9,f11c3ddeaeb7d602anda5b1c338a9607317. Please add a row for each, here or in a follow-up.- The rows that rest only on refusals §6.3 (lines 179–291) take their roles from the command list (
refusals.mdlines 309 and 317), so "medium" fits your own definition better than "high". The same goes forebe4e53f031f5249and512416d975ace48b, since gpu-frame checked only three of that family. - Nit: please use British spelling, "behaviour" (line 129).
Thanks again, this map will save the lighting investigation a lot of time.
Cite lighting-terms.md for the deferred lighting program's directional and specular terms, add the four programs that note names, mark rows resting only on the refusal command list as medium confidence, and use British spelling.
Contributor
Author
|
Thanks for the review. All four points are updated in
|
simnJS
approved these changes
Nov 25, 2026
simnJS
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, all four points are in:
1cd9bc634417a981has the §3 terms;- the four new programs match §4.3 and §7;
- every refusals-only row is now medium;
- the spelling is British throughout.
Approving and merging.
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
Add a shader role map so a program hash in a frame log can be traced to
its rendering work. The map covers 212 programs, starting with the named
world-frame geometry, material, lighting, sky, fog and post-processing
programs and the local-light and screen-probe chains. It includes related
timing and refusal entries. The evidence and confidence columns show where
the available captures identify a role and where code supports an inference.
The frame summary does not give every pipeline binding, so some pass
variants still need identification.
Part of #59
Fixes: none
Depends on: none
Area
Analysis documentation and the shader role map track of the contributor guide.
Tests
cargo xtask pr-checkpasses on my machineFormatting, asset policy and conventions passed with this docs-only command.
Verified unique hashes, matching stages in both local inputs and all
evidence links. The change contains documentation only.
Provenance
AI assistance: AI coding tools wrote this change, mainly OpenAI Codex.
Roles are written from XTP analysis notes and observations of privately
held shader records. No XCL or AnyPS5 source was read.
Checklist
<area>: <summary>; one topic; under 400 changed lines, or the reason is above