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

Closed
banaanpapa wants to merge 1 commit from upstream-pr/4115 into main
banaanpapa commented 2026-11-30 16:18:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by banaanpapa on 2026-11-30T16:18:21Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5569169839 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4115). Originally posted by [banaanpapa](https://github.com/banaanpapa) on 2026-11-30T16:18:21Z. --- `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)
banaanpapa commented 2026-11-30 18:20:27 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by banaanpapa on 2026-11-30T18:20:27Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7287703808 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4115#issuecomment-7287703808). Originally posted by [banaanpapa](https://github.com/banaanpapa) on 2026-11-30T18:20:27Z. --- Closing: `main` has the same two-line fix now (the calls pass `[0; 3]` as of 84bd61e2).

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

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