Guard Spans::next_start, Spans::overlapping, page_written, and remapped against small/empty ranges #452
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!452
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-452"
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?
@ahmetbagci8 on GitHub · 2026-11-29 18:15 UTC · original
ahmetbagci8:fix/gpu-spans-small-and-empty-ranges→main· +60036 −5427 · 206 files · 660 commits · closed without mergingProblem
In crates/victory-gpu/src/descriptor/host.rs:
ange start is greater than range end).
emapped(at, len) do not return early when len == 0, enqueueing (at, at) which slots_in / overlapping then treats as touching any texture containing t.
Fix
emapped.
Verification
@TaynanGT on GitHub · 2026-11-29 19:09 UTC · original
Thanks for the small and empty range guards. I checked the diff: the BTreeMap range is now constructed only when from < end, and empty writes/remaps return before touching the tracking state. Please retain a positive ordinary overlap/next-start case alongside the boundary regression.
@TaynanGT on GitHub · 2026-11-30 17:05 UTC · original
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed