shader: name the failing proof stage in slot 57 execz refusals #3489
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3489
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3487"
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?
@Leyukaka on GitHub · 2026-11-29 17:25 UTC · original
Leyukaka:shader-mesh57-execz-attribution→main· +134 −35 · 4 files · 2 commits · merged 2026-11-30 08:48 UTCRefs #3418.
Why
In a long local run of the application, 300+ slot 57 refusals carried the single message
slot 57 mesh: s_cbranch_execz skips code with effects outside active lanes, with no offset. They could not be attributed to a proof or an instruction.What changes
The two messages keep their text as a stable prefix and gain a suffix:
Stages for the execz message:
reaching EXEC or thread-index,region effects,uniform bound,load offset,live scalar incoming value.No admission change. In
mesh_skeletonthe single OR condition is split into a sequence with one branch per original term, so the first failing term can be named;target == count_atstill raises the exchange-branch refusal. TheStagesites raise under the same conditions as before.Consumers:
tools/startup/refusal_census.pystrips the suffix before its other normalisation rules, so the refusal class is the same with and without it.triage_runneeds no change: no pattern matches either form, so both classify the same.tests/startup_mesh57_skeleton_check.pycompares these refusals by prefix.Tests
New
execzmode ofstartup_mesh57_skeleton_check.py(cteststartup_mesh57_execz_diagnostics), also run by the no-argument mode. For each stage it checks the exact request result, the published.failtext, the census class against the bare prefix, and the watcher output.startup_mesh57_skeleton_check.pywith no arguments: pass, 0 FAIL.execz: pass.startup_mesh57_*excluding_warp/_hardware: 6/6 (skeleton, depth_only, loop_refusal, loop, lane_spill, execz_diagnostics).Mutations, each restored afterwards:
mesh_execz_refusalreturns the bare prefix:execzmode fails, 21 FAIL.execzmode fails, 8 FAIL, all on the census class.Not run
binarymode (nollvm-mcon our host) and the draw modes (draw,depth,killexit,formatted,shift,exchange, i.e. the_warp/_hardwarectest entries): the renderer was not built in that tree.@lukaslw-lab on GitHub · 2026-11-30 06:33 UTC · original · reviewed
Reviewed
fb67c068by reading the diff; not built or run.Verdict: approve. The refusal texts gain a proof-stage suffix with no admission change, and the census class stays the same. No MUST.
mesh_skeleton(tools/startup/gfx2hlsl.py:2126-2146) tests the same terms as the old OR, andfailed is not Noneexactly when the old condition was true: the mergedtargets/edgesscan equals the twoanys, andmask_writershas the same keys as the oldmasksset.target == count_atstill raises the exchange-branch refusal first.load_comparesnow keeps(thread, source, target)asinsindices, andregion_walkreadsins[...][0]from them.wave_load_targetsis built from the samebrancheslist that holds everys_cbranch*, so eachwave_loadskey has an entry.NORMALIZErule is anchored on the.failfirst line and also matches thev_readfirstlane_b32form. No consumer undersrc/,tools/ortests/matches the old full text; thedocs/experiments/tables quote it only as historical counts..failfiles carry the execz text and 98 the group-index text, so the suffix will split a large bucket. We did not replay them on this head.live scalar incoming value(gfx2hlsl.py:4356), the branch and instruction offsets are the same, and the failing item is the registerdst. Naming it, e.g.register s43, would point straight at the cause.