chore(gpu): unwrap the clamp signature switch that is always Some #421
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!421
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-421"
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?
@Luxuride on GitHub · 2026-12-04 01:46 UTC · original
Luxuride:chore/gpu-drop-true-then→main· +1 −3 · 1 files · 1 commits · merged 2026-12-04 03:41 UTCWhat
crates/victory-gpu/src/indirect.rs:720-722:(&true).then(..)isSome(..), so this is justcrate::draw::host_signature(2, 12)behind three lines of indirection that suggest the clamp root signature is optional here. It is not: there is no constant, env switch or comment making it conditional.Validation
mainindirect.rs:720,pipeline/library.rs:445)pipeline/library.rs:445, fixed in another PR)The type stays
Option<…>(host_signaturereturns one), so no caller changes.Overlap check
crates/victory-gpu/src/indirect.rsappears in no open PR's file list, and no issue mentions this line.