gpu: count texture rechecks separately and collect due slots in one pass #188
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!188
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-188"
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?
@DecayingEagle on GitHub · 2026-12-02 13:53 UTC · original
DecayingEagle:codex/texture-queue-census→main· +75 −38 · 3 files · 2 commits · merged 2026-12-02 22:59 UTCThe panel and frame log count a completed texture upload scheduled for a fingerprint recheck as waiting for memory. Both paths set a positive look count. This makes the queue hard to interpret when investigating missing ground.
This patch reports full-upload rechecks separately. It keeps the oldest due descriptor's write age and adds the maximum delay since a look became due. Immediate writes use zero as the due frame, so the delay starts no earlier than the latest write. The due vectors and census now share one walk of the map under the same lock. Scheduling and priority rules are unchanged.
max_overdue_framesdescribes the latest heap pass.peak_overdue_framesretains the largest delay across all passes since the previous log, even if the queue recovered before the five-second sample. A quiet interval with no passes reports a zero peak.Checks
d044248to 27 passing and the same 5 failing. Failures cover raw view alignment, held slots and descriptor byte equality.The camera sweep predates the interval peak added in
6ca8538. That follow-up passed a Windows-targetcargo check --testswith diagnostics. A standalone harness using the same atomic operations checked a transient peak, the reset, and concurrent writers during sampling.This does not establish the cause of missing ground or a gain in game FPS. The runtime logs and title data were kept local.
Developed and tested with OpenAI Codex.