Shaders: the host LDS wait cap uses checked_div, so clippy's manual_checked_ops no longer stops the check #1855

Manually merged
github merged 3 commits from github-bot/gh-1855 into main 2026-11-29 08:20:39 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 00:47 UTC · original
101Leafy:nv/lds-checked-div → main · +17 −17 · 10 files · 3 commits · merged 2026-11-29 08:16 UTC

The check job fails on main and on every open PR at crates/victory-shader/src/emit/lower.rs:2303 with clippy's "manual checked division". spare.checked_div(per).unwrap_or(0) gives the same cap, 0 when per is 0, and the check goes green again.

**@⁠101Leafy** on GitHub · 2026-11-29 00:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1855) `101Leafy:nv/lds-checked-div` → `main` · +17 −17 · 10 files · 3 commits · merged 2026-11-29 08:16 UTC The check job fails on main and on every open PR at `crates/victory-shader/src/emit/lower.rs:2303` with clippy's "manual checked division". `spare.checked_div(per).unwrap_or(0)` gives the same cap, 0 when `per` is 0, and the check goes green again.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:50:52 +00:00
github manually merged commit f002e3db37 into main 2026-11-29 08:20:39 +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!1855
No description provided.