test(shader): cover separated parked-mask lane restores #34
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/34"
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 Zettrox/ztrx. Originally posted by grat78 on 2026-11-25T04:20:42Z.
added some stuff idk
Imported from Zettrox/ztrx. Originally posted by futurepro62 on 2026-11-25T06:38:34Z.
Full-suite run on Windows. Tested exact head
4f68a78(on its base90b529f). One of the two new tests fails, and I think it's the test's expectation rather thanir.rs.Tested
rust-toolchain.toml), DXC + dxil.dll 1.9.2602.17, debug.cargo test --workspace --locked --no-fail-fast: 496 passed, 2 failed, 7 ignored (main90b529fon this machine: 496 passed, 0 failed, 7 ignored).parked_wave64_mask_pair_restores_across_independent_instructionsfails:parked register code 108(tests/parked_mask.rs:66).inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offsetalso failed once in this run. It's outside this PR's diff, passes on main, and passed 3 of 3 solo reruns at this head, so I'm treating it as a flake under load.parked_pair_is_not_combined_across_a_read_of_the_second_scalarpasses.cargo clippy ... -D warningspasses (with and without--all-features): passed.Why 108
s_mov_b64moves are there, and the save's width and source match. Onlyassert!(parked >= PARKED)fails.unspill's doc comment inir.rssays each (VGPR, lane) gets a code the program doesn't use, "the trap temporaries first, then SGPRs it never names, then codes fromPARKEDup". The synthetic program doesn't use any trap temporaries, so the pair gets 108 (ttmp0). Checking that the code isn't one the program names, or isn't an SGPR the program uses, may be closer to what's intended than>= PARKED.Two stray files
crates/victory-shader/src/ir.rs_TEST_INSERT.txt(80 lines withuse super::*;, not compiled) andcrates/victory-shader/tests/.parked_mask_marker(a doc-comment line) look left over from writing the test. Nothing references either.Not tested
AI use
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.