Recognize fetch-inactive Wave32 and Wave64 prefixes #799
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/800"
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?
Imported from fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-25T08:17:27Z.
Change
Model opposite-row permutations in whole-wave sections when FI permits a modeled value from an inactive source lane. Preserve inactive destinations and reject untracked per-lane values from other lanes. The console compiler also emits the same form with OP_SEL bit 3 set. Admit it only for the observed upper-row EXEC masks and selectors that read the last lane of the opposite row. For Wave64, require full-wave lowering so the form stays unavailable to the independent half-wave retry.
Allow a split-wave
v_readfirstlane_b32under partial EXEC when the source is uniform across participating lanes and every observable use has the same guard. This preserves the first active lane's value in either populated half of the wave. The proof rejects varying inputs and values that escape the mask.Verification
CS_VirtualTable_SortJobstranslated, validated, created a host compute PSO, and bound in an integrated replay. An isolated RTX test of the capturedCS_GenerateShaderBinOffsetsverified both allocation counters and non-overlapping per-bin prefixes across 11 inputs, with both optional-stream modes and up to 16,386 bins. WARP rejected creation of the captured bin-offset PSO, and the original reserved-bit encoding remains unverified on AMD hardware.Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T10:13:00Z.
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
1c70b0eintomain9376fd6in a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twinsnever used,depth_writtennever read, invictory-gpu); with--all-featuresit fails with the same number of errors asmain(4). This PR adds none and removes none.cargo test --workspace --locked: 544 passed, 0 failed, 13 ignored, two runs (mainalone: 540 passed, 0 failed, 10 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
Imported from fxceless/victory-fork. Originally posted by cafeoh on 2026-11-25T11:20:54Z.
Test report on real hardware: RTX 2080 Ti (Turing, 32-lane waves), Windows 10, diagnostics build, opening cutscene. Main
f85101bplus some host-side PRs, with and without this PR's head1c70b0e. One run per tree, five trees with it.With this PR, three compute programs that translated before no longer do, so their dispatches are dropped every frame:
17af15c4015cb4b6,fdd56d97a806bcca: a lane mask exchanged where not every lane runs is not supportedbad01f53f53248e5: a first-lane read where not every lane runs is not supportedIn game, most of the scene then stops being drawn: earlier frames stay on screen and smear, the yard shots turn into a white blur, and panning the camera leaves trails. Same in all five trees with it. Without it (same trees otherwise), the scene is drawn normally and every compute program builds.
Not tested: which of the title's programs these are, other cards, AMD.
AI-assisted (Claude Code); no game data.
Pull request closed