Formats: parenthesize the shift in a texture test (main's clippy step fails on it) #1485
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1485"
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 fxceless/victory-fork. Originally posted by CwWwWwW on 2026-11-27T15:33:39Z.
Problem
After the tree replacement in
5dbf5ce,main's CI run 46021947845 fails at its first step, Clippy, after 43 seconds on a single lint:The file is byte-identical to
trustno1-coder/VIctory-NVIDIA@959dcaf, the tree5dbf5cewas rebased on; that repository has no GitHub Actions check runs, so the lint was inherited unnoticed. Because it fails the first CI step, the laterClippy, diagnostics buildandTestssteps never run, which hides the state of the tree.Change
Parenthesize the shift in the test:
(i * 7 >> 3)→((i * 7) >> 3). The value is the same; only the grouping the lint asks about changes. One line, test code only, no runtime/render/barrier/descriptor change.Verification (default features, this host)
cargo clippy -p victory-formats --all-targets --locked -- -D warningsfails with exactly the CI error (reproduced locally)cargo test -p victory-formats --lib --locked— 42 passed, 0 failed, 5 ignoredgit diff --checkcleanScope / what this does not do
It only lets the CI job get past Clippy so the remaining steps become visible. The known test failures recorded in 5dbf5ce's own message — two
victory-gpuindirect tests (host_list_budget_starts_empty_at_each_submission,warp_batch_charges_every_execution) that also fail on unmodified VIctory-NVIDIA959dcaf, and one loader test that failed once — still make the Tests step red and are not addressed here. No game was run; no other repository was modified.