GPU: clippy passes on main again #642
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!642
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-642"
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?
@coderanonymus on GitHub · 2026-11-25 03:48 UTC · original
coderanonymus:ci-clippy-green→main· +3 −4 · 3 files · 1 commits · openWhy
CI on
mainhas failed at the first Clippy step sincec96b4f2, so the tests haven't run onmainsincea803c87.310c6ebfails on three lints:function placed_filler_twins is never used(resource.rs)consider using sort_unstable_by_key(draw.rs)field depth_written is never read(indirect.rs, test build)What
indirect.rs: the timing rig stored the written depth view but only clears it during setup. It draws withdepth_tested. The field is dropped. Its heap is still kept alive by_target_heaps.draw.rs: the scissor census sorts byReverse(count). The order is unchanged.resource.rs: only the diagnostics build'scopystatreadsplaced_filler_twins. It is allowed to be dead without the feature, the same wayshadowandpipelinehandle theirs.The
resource.rschange is the same as #491 and #530. It's included so that one merge turns CI green. If one of those lands first, this one still merges cleanly or is a trivial conflict.Verification
cargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-features, targetingx86_64-pc-windows-msvc(cross-checked from Linux): both clean.cargo test --workspace. It needs Windows, and it hasn't run onmainsincea803c87. This PR's own CI run will be the first test run in that time.No game data used.
🤖 Generated with Claude Code
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 03:48 UTC · original
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
We couldn’t complete this review. Comment
@codex reviewto try again.3d33ef0ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 03:48 UTC · original
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
@JRamos1993 on GitHub · 2026-11-25 12:43 UTC · original
Five open PRs make clippy pass on
main. On currentmain(9376fd6), three of them do (#642, #755, #841); #530 and #491 (the same commit,d28e0dd) fix one lint of three.Each PR merged onto
9376fd6, then CI's two clippy steps (cargo clippy --workspace --all-targets [--all-features] --locked -- -D warnings, toolchain 1.98.1, Windows):--all-featuresmain9376fd6sort_unstable_by_key(draw.rs),depth_writtennever read (indirect.rs),placed_filler_twinsnever used (resource.rs)sort_unstable_by_key,depth_writtenThe three that pass all make the same
sort_unstable_by_keychange and differ only in the other two lints:depth_written: #642 and #755 remove the field. #841 keeps it as_depth_written. It is aD3D12_CPU_DESCRIPTOR_HANDLE, plain data, so keeping it holds nothing alive.placed_filler_twins: #642 allows it as dead code without the diagnostics feature. #755 and #841 compile it only with the feature; its one caller is incopystat.rs.All three merge onto
9376fd6without conflicts. #530 and #491 are older and fixed what was failing when they were opened. Merging any one of the three passing PRs makes the other four unnecessary.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.