victory-gpu's tests compile again: two calls of card_pass without its capture #4115

Closed
github-bot wants to merge 1 commit from github-bot/gh-4115 into main AGit
Owner

@⁠banaanpapa on GitHub · 2026-11-30 16:18 UTC · original
banaanpapa:fix/card-pass-tests → main · +2 −2 · 1 files · 1 commits · closed without merging

cargo test -p victory-gpu does not compile on main (c71899d9): error E0061 at crates/victory-gpu/src/host.rs:20302 and :20328.

card_pass took a sixth argument, capture: [u32; 3], with the relay's capture (7addcfc7). The two calls in the test of the scoped UAV barriers (990be53f) were merged beside that change and still pass five. They want no capture, so they pass [0; 3], as the other callers that want none do.

With it the crate's tests build again. Run twice here on an RTX 5080: 1,113 to 1,114 pass; shader_cache::tests::every_switch_of_the_translator_is_in_the_key and list::thin::tests::bindings_record_no_work fail both times and host::refresh_tests::chunked_nothing_new_with_matches_individual once. Those three are not this change's: none of them reaches card_pass, and they could not be seen while the build was broken.

🤖 Generated with Claude Code

**@⁠banaanpapa** on GitHub · 2026-11-30 16:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4115) `banaanpapa:fix/card-pass-tests` → `main` · +2 −2 · 1 files · 1 commits · closed without merging `cargo test -p victory-gpu` does not compile on `main` (`c71899d9`): error E0061 at `crates/victory-gpu/src/host.rs:20302` and `:20328`. `card_pass` took a sixth argument, `capture: [u32; 3]`, with the relay's capture (7addcfc7). The two calls in the test of the scoped UAV barriers (990be53f) were merged beside that change and still pass five. They want no capture, so they pass `[0; 3]`, as the other callers that want none do. With it the crate's tests build again. Run twice here on an RTX 5080: 1,113 to 1,114 pass; `shader_cache::tests::every_switch_of_the_translator_is_in_the_key` and `list::thin::tests::bindings_record_no_work` fail both times and `host::refresh_tests::chunked_nothing_new_with_matches_individual` once. Those three are not this change's: none of them reaches `card_pass`, and they could not be seen while the build was broken. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`card_pass` took a sixth argument with the relay's capture (7addcfc7); the
two calls in `scoped_card_uav_barriers_keep_compare_and_card_steps_correct`
(990be53f) were merged beside it and still pass five, so
`cargo test -p victory-gpu` stopped at E0061 on main. They pass no capture
(`[0; 3]`), as the other callers that want none do.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 16:21:52 +00:00
github-bot closed this pull request 2026-11-30 18:23:08 +00:00
Author
Owner

@⁠banaanpapa on GitHub · 2026-11-30 18:20 UTC · original

Closing: main has the same two-line fix now (the calls pass [0; 3] as of 84bd61e2).

**@⁠banaanpapa** on GitHub · 2026-11-30 18:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4115#issuecomment-7287703808) Closing: `main` has the same two-line fix now (the calls pass `[0; 3]` as of 84bd61e2).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4115
No description provided.