Keep pending texture changes when queues fill #137
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/TaynanGT--Vice-Tay!137
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-137"
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?
@TaynanGT on GitHub · 2026-11-27 03:47 UTC · original
TaynanGT:fix/vi-br-texture-change-queue→main· +56 −28 · 2 files · 1 commits · merged 2026-11-27 03:55 UTCThe remap and page-write queues cleared their pending entries when they reached 32,768 ranges. That could leave an already uploaded texture using old bytes after its title memory changed.
Both queues now merge overlapping ranges and coalesce neighboring pairs as needed. Every change stays covered within the existing queue limit, and the diagnostics count the entries compacted.
I reproduced the issue with 32,771 disjoint changes. The updated test covers every one. All 429 enabled GPU unit tests and the graphics crate’s diagnostics Clippy check passed on Windows.
Adapted from edsuuu’s VI-BR-PORT change, which follows gomeaw’s original fix.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 03:47 UTC · original · edited 2026-11-27 03:50 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
53a1f1653a1f16ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.