No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!665
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-665"
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?
@kibagami-nc on GitHub · 2026-11-28 03:05 UTC · original
kibagami-nc:ci/clippy-green-after-8fc2254→main· +10 −11 · 6 files · 1 commits · merged 2026-11-29 08:16 UTCRedone on main (
d4b5d517). This PR's first version fixed four clippy findings from the morning of 2026-11-28, and main has fixed those since. The branch now starts from main and fixes the current ones that no other PR takes.What happens
Main's CI fails at its first step,
cargo clippy --workspace --all-targets --locked -- -D warnings:victory-shaderdoesn't build under-D warnings. There's an unusedcolourand amanual_checked_opsinlower.rs. #1517 (babuakhil) fixes both.victory-gpuhas 12 more, in both builds unless noted:dropping_referencesinhost.rs's present fallbacks: a real lock bug, fixed by #1459;send::Memory'sgpufield, never read;pool::let_goandresource::host_pressure_reclaimed, never used, in the default build only;identity_op(1 * MIB,1 * GIB) and one constant assertion, in tests;manual_is_multiple_ofinstreamline.rs;too_many_arguments(8/7).This PR takes everything in point 2 except #1459's three.
The change
No behaviour changes.
pool::let_goandresource::host_pressure_reclaimed: onlycopystatreads them, and only diagnostics builds have it. They now carry its cfg,all(windows, feature = "diagnostics").send::Memory'sgpufield (041d0ee6): written and never read. The field goes, with theGetGPUVirtualAddresscall that filled it.1 * MIBand1 * GIBbecomeMIBandGIB.assert!(128 * MIB * 7 < 957 * MIB)becomesconst { assert!(…) }.streamline.rs: the frame generation state's sampling usesn.is_multiple_of(120).first_upload_decisionandfsr::before_present:#[allow(clippy::too_many_arguments)], as on 32 other functions in the tree.Together: CI's three steps
On
d4b5d517with #1517, #1459 and this PR merged locally:cargo clippy --workspace --all-targets --locked -- -D warnings: passes.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passes.cargo test --workspace --locked, with #1493 merged too (or #1460, for #1429's size limit): passes, with 1,306 tests passed and 0 failed,repository_passes_policyincluded.So these four PRs together make main's CI green again.
Confirmed by babuakhil (Windows 11, RTX 3060, Rust 1.98.1), on #1517:
d4b5d51with #1517, #1459, this PR and #1493 merged in that order, with no conflicts:cargo test --workspace --locked: 1,306 passed, 0 failed, twice;cargo test --workspace --locked --all-features: 1,365 passed, 0 failed, so the diagnostics-only tests are clean with the set too.github-bot referenced this pull request2026-11-28 06:35:09 +00:00
github-bot referenced this pull request2026-11-28 06:52:25 +00:00
github-bot referenced this pull request2026-11-28 14:29:05 +00:00
@ANDREANIADS on GitHub · 2026-11-28 08:12 UTC · original
I reproduced the Clippy warnings on the parent (
8fc22547) and reran both workspace checks on this PR’s head (0a368d63). Both the default and--all-featuresconfigurations passed with-D warningsusing Rust 1.98.1 on Linux, targetingx86_64-pc-windows-msvcwithblake3/pure. The native Linuxvictory-shadersuite also passed: 207 tests passed, 2 ignored. I didn’t run the Windows loader test.Exact commands and results. If there’s another CI failure you’d like us to reproduce, please point us to the job and the revision.
@MoonEyes on GitHub · 2026-11-28 11:16 UTC · original
Tested this PR merged onto current
main(63b902f, one commit past this PR's base), locally on Windows 11 with an RTX 4060, toolchain fromrust-toolchain.toml(cargo 1.98.1, clippy 0.1.98). The three commands ofci.yml:cargo clippy --workspace --all-targets --locked -- -D warnings--all-featurescargo test --workspace --lockedWithout the PR, the first command fails on
main63b902fwith the same two errors as CI run 46104876336 (emit/mod.rs:2768,shadow.rs:1708); thedescriptor.rsone only shows with--all-features, andgameinput.rsonly oncevictory-gpubuilds.The four changes keep behaviour:
(i < scripted_keys).then_some(vk)gives the same result as theSome(vk).filter(...)it replaces, theemitchange is in a test module, and bothis_multiple_ofdivisors are non-zero constants on unsigned values.#687 and #705 carry the same four changes byte for byte; this one was opened first.
This is a local run, not GitHub's CI.
github-bot referenced this pull request2026-11-28 21:19:13 +00:00
CI: clippy clean again in both builds (four findings since 9b712a6)to CI: the rest of main's clippy findings, so that with #1517 and #1459 both builds are clean0a368d6314to9a1ab4ef44