Wave64 pairs #3179
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3179
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3179"
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?
@Vyto-Line on GitHub · 2026-11-26 11:18 UTC · original
Vyto-Line:wave64-pairs→main· +125900 −4420 · 269 files · 431 commits · openNo description provided.
ffe310e) 578d459c34a803c87fa967c0340c96b4f27913a98a3d310c6ebe5f735d6aee1702e2(landing on threads, card steps 2) into local/copies ee188c1df0d4772b3d4254dc02ca79e248) into local/tests 338f42479ea79e248) into local/copies; a test of the bits against remapping 535a3835b174045e4' into local/upcopies cb72fc0a172286e03) 26a801e21ac0228d9) 77b82c9c22e45bacd,23fc8a5,7dfa86f) 011735ff80c430b1d,100de0e) 4e3e0654bfe6f492d) into local/tests cd37859b39e6f492d) into local/tests 9713df6eccc651346' into local/upcopies 4f6bd62362572bd4c' into local/upcopies 47ae1737c28dd30ab: writes through one view of a page are seen at its other views 49c44f61d38dd30ab(every view of a page is guarded) ab71750898a26859f(the first room renders right) 925736dbd0`victory run GTA6.exe`, run from the game folder, gives an exe path with an empty parent, and that empty folder was mounted as G:. An empty path cannot be made absolute, so the root stayed empty and G:\x64\a.rpf became \x64\a.rpf: the root of the current drive. The title then found none of its files. An empty root is now the current directory, which is what an empty folder means everywhere else (`Path::new("").join("x")` is `x` in the current directory). Passing a path with a folder in it is unaffected. (cherry picked from commit01ae55a3ba)..in the not-yet-existing part of a path bb0a2428fce29391f,13185f5and4fc9d70, by hand b9c18b0685b69eab84) into night/cpu 2c79c5b7fef61ecf3b) into night/cpu 19be44dd6ff61ecf3b' into night/light be085e5385a2537066) 51d3f4da00921d8d3b) e77a7d9fd9f5c03f3b, pull request 999: Geckomacabre895c0b8f,04df4350); on by default 23925a4aa2c36971b2) 17c4717b44449830f6' into local/next 57e55d069a0a43566) with RTX 5090 fidelity & 32 GB RAM optimizations: two-plane compose, fallback heaps, TablePlan, residency guard, 256 MiB DirectStorage, and WaitOnAddress fence wakes e05d4633a0@steven-seagull27 on GitHub · 2026-11-26 12:06 UTC · original
On an RTX 5080, the paired backend in
3a41edbdpassed the seven-UAV regression once I added carlosmegino’s existing maskedv_readfirstlane_b32selection change. I used the guest program and CPU oracle from #3180 at827057a6and passed the adapter’s queried maximum of 32 to the emitter, as the runtime does. Selector commitVICTORY_WAVE_PAIRS=0All mismatches were in UAVs 2 and 3, which store the results of the two masked first-lane reads. UAV 2, thread 0 read 0 and expected 40. The other five UAVs and all 56 guard words per dispatch matched in every row. The green row repeated in fresh processes with zero D3D12 GPU validation warnings or errors.
Two details for reproducing this:
(32,32)assertion before dispatch. Windows WARP reported(4,4)and app-local WARP 1.0.22 reported(4,128).cargo test --locked -p victory-shader --lib --no-runstops at the missing closing brace inwave64_tests.rsafter the counted-threads test. Closing it exposes unresolvedlayout,used,fp16andpixel_ofin the barycentric test helper inemit/mod.rs. For the table I repaired those test helpers locally and ported the #3180 fixture to this branch’s IR builder. The middle row adds only the production selector hunk from the linked commit.AI-assisted with Codex.
a35c557: a host pipeline for the render target formats bound at a draw 6f335cff81a35c557: a host pipeline for the render target formats bound at a draw" 8e582f358296ff135: ray node tests can answer no hit (VICTORY_BVH_NO_HIT=1) 5c0b7f73bfhost_texture_as took a texture from the pool (crate::pool::texture) before looking at `reserved`, so every texture meant for levels on demand came back as a placed one with memory and no tiles: GetResourceTiling answered total=0, Tiled::make refused it, and no texture was ever made level by level (1638 refused on an RTX 3080). A reserved texture now skips the pool. Measured with VICTORY_CARD_ACCOUNTING=1 (test 25): 2550 textures made level by level; levels whose title memory is not mapped down from 2.0-2.4 GB to 1.0 GB of the card; 7.5 of a 9.0 GB budget in use ("room true" for the first time); 8.1-8.5 GB in use by nvidia-smi where runs before sat at 9.3-9.9 GB. Also: why host copies are or are not made level by level is counted and said in the card accounting line, and the card's first tiling refusals are logged; VICTORY_TEXTURE_DROP_MIPS=N leaves out the N largest levels of textures of at least 1024 texels (made level by level for that; off). Co-Authored-By: Claude Opus 5.5 <[email protected]>View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.