Repository navigation
GPU: clippy passes on main again - #642
coderanonymus wants to merge 1 commit into
Conversation
- indirect.rs: the timing rig kept the written depth view it never reads after setup; drop the field. - draw.rs: the scissor census sorts by a reversed key. - resource.rs: placed_filler_twins is read only by the diagnostics build's copystat; allow it to be dead without the feature, as shadow and pipeline do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Five open PRs make clippy pass on Each PR merged onto
The three that pass all make the same
All three merge onto |
Why
CI on
mainhas failed at the first Clippy step since c96b4f2, so the tests haven't run onmainsince a803c87. 310c6eb fails 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 onmainsince a803c87. This PR's own CI run will be the first test run in that time.No game data used.
🤖 Generated with Claude Code