Drop the unused batched binding in indirect::make_from #3358
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3358
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3358"
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?
@MoonEyes on GitHub · 2026-12-03 16:19 UTC · original
ProjectLeonida:fix/indirect-unused-batched→main· +0 −2 · 1 files · 1 commits · merged 2026-12-03 17:46 UTCClaimed in the coordination issue as: #3174 (claim comment in #3312)
Refs: #3174 (does not close it: the
field 0 is never readwarning onSlotinbook.rs:247is a separate fix, because that field keeps the descriptor heap alive)What and why
Removes the diagnostics-only
let batched = source == batch::SOURCEinindirect::make_from. It was never read since the file was created: the pipeline name is the sameCLAMPconstant for both sources, and the batch pass is replayed through its ownedit::BATCHslot. No#[allow], no other code changes.Tested
cargo check -p leonida-gpu --features diagnostics --locked --target x86_64-pc-windows-msvcfrom Linux (read-only reviewer): no warning left inindirect.rs; no new warning without the feature or with--all-targets.python -I scripts/check_no_game_data.py: clean.GPUs tested: n/a
AI-assisted: yes. Written with Claude Sonnet 5.5; independently reviewed read-only by Claude Opus 5.5 (verdict OK).
Checklist
mainand merges cleanly.Generated by Claude Code
batchedbinding in indirect::make_from (#3174) f35f14218c@Kal0s-design on GitHub · 2026-12-03 17:14 UTC · original
Ran natively on Windows 11, head
f35f14218merged into currentmain(717b90233, clean merge).No findings. Measured with MSVC Rust on
leonida-gpu:maincargo check -p leonida-gpu --all-targets --features diagnosticsbatchedunused inindirect.rs:532,Slotfield 0 inbook.rs:247)book.rsone leftcargo clippy -p leonida-gpu --all-targets --features diagnostics -- -D warningsindirect.rsone is gonediagnosticsWith #3361 merged on top as well,
cargo check --features diagnosticshas no warnings left. The 8 clippy errors that remain withdiagnosticsare already onmainand outside this file (census.rs,shown.rs,copystat.rs,host.rs,replay/play*.rs).Not checked: running the
leonida-gputests (compile-only check; the change only removes an unused binding).GPUs tested: n/a (CPU-only tests).
AI-assisted: yes (Claude Code).