Clippy: green on main again (the four findings since 9b712a6) #1160

Manually merged
github merged 1 commit from github-bot/gh-1160 into main 2026-11-28 19:42:06 +00:00 AGit
Owner

@⁠T1bolus on GitHub · 2026-11-28 14:33 UTC · original
T1bolus:pr/host-report → main · +10 −6 · 4 files · 1 commits · merged 2026-11-28 19:39 UTC

Clippy green on main again (the four findings since 9b712a6)

Both builds on main fail cargo clippy --workspace --all-targets -- -D warnings today, and the last pushes to main ran no CI. Four findings: a let whose only reader is the block's return in the emit fixtures, two manual-is-multiple-of (the spin turns in shadow.rs, the log throttle in descriptor.rs), and Some(x).filter(|_| ...) in gameinput.rs. Each replaced with the form clippy wants; no behaviour change. #687, #705, #665 and #957 have the same goal — whichever lands first wins.

Checks

  • cargo clippy --workspace --all-targets -- -D warnings, and the same with --all-features: clean in both, on the pinned toolchain 1.98.1.
  • cargo test --workspace --locked: green. The only flakes were the watch tests #724 documents as load-sensitive; each failed once under a parallel game run and passes alone.
**@⁠T1bolus** on GitHub · 2026-11-28 14:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1160) `T1bolus:pr/host-report` → `main` · +10 −6 · 4 files · 1 commits · merged 2026-11-28 19:39 UTC ## Clippy green on main again (the four findings since 9b712a6) Both builds on main fail `cargo clippy --workspace --all-targets -- -D warnings` today, and the last pushes to main ran no CI. Four findings: a `let` whose only reader is the block's return in the emit fixtures, two `manual-is-multiple-of` (the spin turns in `shadow.rs`, the log throttle in `descriptor.rs`), and `Some(x).filter(|_| ...)` in `gameinput.rs`. Each replaced with the form clippy wants; no behaviour change. #687, #705, #665 and #957 have the same goal — whichever lands first wins. ## Checks - `cargo clippy --workspace --all-targets -- -D warnings`, and the same with `--all-features`: clean in both, on the pinned toolchain 1.98.1. - `cargo test --workspace --locked`: green. The only flakes were the watch tests #724 documents as load-sensitive; each failed once under a parallel game run and passes alone.
The frame line counts the draws and dispatches dropped without a host
pipeline but not why. With VICTORY_DROP_NOTES=1 they are counted by
reason and a line a frame names the spread; without the flag, counters
only, and the old lines as they were.

The reasons: a pipeline being made; one the host refused, by its own
name (root signature, compute, mesh, graphics, or what `refuse` logs
once); a shader that does not translate, by stage; a stage of the
ray-tracing structure builder, which is off; left-out pipelines with
their own why; and the preparation giving up on this thread (a root
view or a descriptor table without a slot or heap, an index buffer or
rectangle vertices outside their memory, another kind of pipeline,
the mesh dispatch switches, a draw skipped by VICTORY_SKIP_PIPELINES).
Each reason is named where it comes up and taken where the drop is
counted (`note_drop_reason`): `make::drop_reason` reads the pipeline
without starting or waiting for it, as `missing` does but without
hashes, and `HostPipeline::new` leaves a refusal on the thread that
built for `make` to take.

The flag moves counters and adds one line; it changes no translation
and no pipeline, so it is no part of the shader cache's keys.
VICTORY_UNKNOWN_PIPELINE_DUMP=<dir>: the first eight calls of each dump the
description's words, the struct its first word names, and every (pointer, size)
pair's bytes, each pair also tried as a shader container. The layout is from
issue #411: 0x218 a native compute pipeline, 0x1c8 a native graphics one.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:44:09 +00:00
github-bot changed title from Host report: clippy green again, drops named by reason, RTX 4070 SUPER findings, and the 0x1c8/0x218 probe to Clippy green on main again, drops named by reason, and the 0x1c8/0x218 probe 2026-11-28 14:55:17 +00:00
github-bot force-pushed github-bot/gh-1160 from cee157f74d to 1e17a1c79b 2026-11-28 14:55:18 +00:00 Compare
github-bot force-pushed github-bot/gh-1160 from 1e17a1c79b to aac29512d7 2026-11-28 15:00:43 +00:00 Compare
github-bot changed title from Clippy green on main again, drops named by reason, and the 0x1c8/0x218 probe to Clippy: green on main again (the four findings since 9b712a6) 2026-11-28 15:22:24 +00:00
github-bot force-pushed github-bot/gh-1160 from aac29512d7 to 20a6274459 2026-11-28 15:22:25 +00:00 Compare
github-bot referenced this pull request from a commit 2026-11-28 19:41:56 +00:00
github manually merged commit b544b4346c into main 2026-11-28 19:42:06 +00:00
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!1160
No description provided.