Repository navigation
docs: map roles of refused shader programs - #72
Merged
Merged
Conversation
simnJS
requested changes
Nov 25, 2026
simnJS
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, this is clean and well sourced. Two fixes before I merge:
- The "Refused and dropped programs" rows (around lines 414 and 423–425) should give the status on main. The 19 wave64 shadow programs translate since f992374 (docs/wave64-on-wave32.md, "World-session refusals on 32-lane hosts"), and the ES/GS halves since es-gs.md §7.2. Please also say that the census rows date from 1c61fa1. Of the new rows, only
0ddab4b6is still documented as refused. (docs/analysis/refusals.md §7 is stale on this too; we'll fix it on our side.) - Line 238:
b2b1ea29bc3987dbisn't named by its cited source (CPU image §4.1) and was never met in a session, so its confidence should be "low", not "medium".
Contributor
Author
|
Thanks. Both points are fixed in
The description's counts are updated: 3 high, 37 medium, 76 low. |
simnJS
approved these changes
Nov 25, 2026
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
Extend the shader role map from 272 to 388 hashes so a reader can identify
work from translator refusals, PSO refusals and dropped operations. The new
rows include wave64 shadows, voxelisation geometry, and programs for which
the sources establish only a stage or an output type.
New rows: 3 high, 37 medium and 76 low. Following the review of #70,
"high" needs a measured dispatch or a measured output or consumer.
Programs never seen dispatched, or whose consumer is open, are at most
"medium" and say so in the row. The 76 low rows record only what each
program's code reads and writes, so that every program hash the analysis
docs name is now in the map. Each section gives the program's status on
main: the census rows date from1c61fa1, and of these programs only0ddab4b63b1394e0is still documented as refused. Three 16-hex values in the docs are notprograms and are left out: a translator cache key in
30fps.mdand thebefore and after values of a token counter in
l4-world.md.Part of #59
Fixes: none
Depends on: none (#70 is merged)
Area
Documentation,
docs/analysis/shader-roles.md.Tests
cargo xtask pr-checkpasses on my machine with the documented skips.cargo xtask pr-check --base upstream/main --title "docs: map roles of refused shader programs" --skip test --skip clippy --skip clippy-diagnosticspassed formatting, asset policy and conventions.Verified that every added hash appears in existing documentation and that
every added heading link resolves. This change only updates documentation.
Provenance
The descriptions draw on XTP's linked analysis and local inspection of
the matching shader programs. No XCL or AnyPS5 source was read.
AI assistance: AI coding tools wrote this change, mainly OpenAI Codex.
Checklist
<area>: <summary>; one topic; under 400 changed lines, or the reason is above