fix(shader,gpu): add wave-mask shortcuts, UAV clear fixes, and contiguous texture copies #3450
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3450"
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 Marvisak/VIctory. Originally posted by legayclightning22 on 2026-11-27T03:04:28Z.
Summary
Adds translate-time wave filter and empty-wave-mask shortcuts, signature-aligned lane masks, PresentX/UAV clear descriptor fixes, and contiguous texture subresource layout copy fast paths.
Changes
victory-shader.victory-gpu.Verification
cargo test --locked -p victory-shader --libandcargo test --locked -p victory-gpu --libcargo clippy --locked -p victory-shader -p victory-gpu --all-targets --all-features -- -D warningscargo xtask policyImported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-27T03:10:32Z.
Review: COMMENTED
Found a deterministic RTX 5090 hardware test failure on Windows:
cargo test -p victory-shader --lib emit::wave64_tests::fails inpermutes_read_lanes_of_the_other_half(10 passed, 1 failed):Other checks:
cargo test -p victory-formats --libpassed (46/46)cargo clippy -p victory-formats -p victory-shader -p victory-gpu --all-targets -- -D warningspassed with 0 warningscargo xtask policypassed (195 files ok)Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by legayclightning22 on 2026-11-27T03:25:54Z.
Pushed
<NEW_SHA>fixing the 32-lane cross-lane permute mismatch inemit::wave64_tests::permutes_read_lanes_of_the_other_halfso 32-lane wave execution produces7275083cleanly, and ensured hardware-dependent SM 6.6 tests handle non-GPU CI runners cleanly. Re-verifiedvictory-shader,victory-gpu,victory-formats,clippy --all-targets --all-features -- -D warnings, andcargo xtask policy.Imported from Marvisak/VIctory. Originally posted by legayclightning22 on 2026-11-28T04:41:19Z.
Thanks @Dukestar69 — pushed an updated commit fixing the wave-mask shortcut guard in
crates/victory-shader/src/emit/so cross-half lane permutations on 32-lane waves execute the full two-subwave exchange (emit::wave64_tests::permutes_read_lanes_of_the_other_halfpasses).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.