Repository navigation
Report computed descriptor failures by opcode and word source - #4
Closed
MichaelSmithAI wants to merge 1 commit into
Closed
MichaelSmithAI wants to merge 1 commit into
MichaelSmithAI wants to merge 1 commit into
Conversation
Owner
|
I read the diff; the idea is sound and the output is the right kind (an opcode and source classes, nothing from the shaders themselves). Two things before it can go anywhere:
What would make it more useful for the 38 programs at Nothing was built or run for this note. AI-assisted. |
MichaelSmithAI
force-pushed
the
feature/computed-descriptor-report
branch
from
November 24, 2026 06:31
1efb9fc to
d61daaa
Compare
Author
|
Thanks for the review. We opened the descriptor-failure report separately as Marvisak#672 so it can be reviewed independently of Marvisak#566. |
r4tedx
pushed a commit
that referenced
this pull request
Nov 26, 2026
…nditions alike in it On a GPU with 32-lane waves a console wave64 program runs as two host waves, and a v_readfirstlane where not every lane runs was refused (the two halves cannot meet there to give each other their first lane). Three programs of the ray-tracing structure builder stopped that way, so the builder (all or none) could not run on NVIDIA at all (issue #4). They read the first lane of a value every lane of the console wave holds alike, inside a loop whose conditions are alike in the console wave too: a prefix over wave totals, `if (id >> 6 != 0)` and lanes leaving at their wave's own index. Then each host wave can take its own first lane. lane_uniform now proves that: it runs to a fixed point; an instruction under a condition whose atoms are compares of alike values (or uniform) counts, over an old value that is alike too (waves the condition leaves out keep that); LDS reads at an alike address count; phis count where every predecessor is reached by whole console waves (past branches on alike conditions only); and the thread id's x shifted right by 6 or more is alike where console waves are runs of 64 ids along x. The result is only used for v_readfirstlane in the two-host-wave form. Checked: a GPU test of the same shape (256 threads, four console waves) fails on the old analysis with the builder's refusal and passes with this one on an RTX 5070 Ti (driver 621.40), every thread getting the console's sum. Over the title's whole shader pack and the builder DLL (VICTORY_HOST_WAVE=32), the only programs whose translation changes are these three (now emitted and validated: compute 2,718 -> 2,721 of 2,734) and one other builder program, whose first-lane read of `id >> 6` now skips an exchange that gave the same value. victory-shader tests: 211 passed. In a world run with VICTORY_BVH_BUILDER=1 the builder now runs (all 53 programs have host pipelines); the title still crashes within seconds of it, with or without VICTORY_BVH_QUARANTINE, so it stays off by default. [cool/play-1b: picked onto cool_fox f4b48ad. lane_uniform conflicted with codec_d's 8cc31ab, which had added an ordered_lds gate (an LDS read at an alike address counts only where the two host waves meet at a group barrier before every LDS access: split_lds with group_sync on). Resolved by hand: this commit's fixed-point proof, with that gate kept on its LDS-read rule; the tests of both kept.] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 3f2bcc7)
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.
The revised diagnostic is now open upstream in Marvisak/VIctory#672, stacked on Marvisak#566 at
6c63dea. Commitd61daaaadds the requested column with every varying word's defining opcode or source category. The synthetic mixed-opcode regression and all 82 Linux shader library tests pass. This fork PR records the original proposal and review.