draw: look at textures that keep changing unnoticed every frame (VICTORY_HOT_RECHECK, off) #303
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!303
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-303"
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?
@nullexxx on GitHub · 2026-11-27 14:49 UTC · original
nullexxx:perf/hot-texture-recheck→main· +67 −0 · 1 files · 1 commits · draftDraft: measured, but no visible effect identified yet. This is offered for others to test.
What
VICTORY_HOT_RECHECK=1(off by default): once a texture picked by index has been found changed with nothing to tell of it twice, its slot is looked at every frame from then on, instead of the look spreading out again (4, 12, 40, … frames) after each change. Each look reads 48 KiB. A summary line logs, every 250 changes found, the unchanged looks, the changes, and the looks and changes at hot slots. In a diagnostics build,VICTORY_ABcan flip the switch.Why
On an RTX 5080 (GE-Proton11-14-viewtree, Series S profile, standing still in the opening area), the
a texture picked by index changed after its upload with nothing to tell of itwarning reached its 200-line cap within a few minutes in every session:blocks_shown_elsewhere> 0: textures the title repaints through another view of their pages.Measured
Two runs of about 3 minutes at the same spot, same build otherwise. The second ran at night, which raised the GPU time; that, not this switch, is behind the lower frame rate.
VICTORY_HOT_RECHECK=1Open question
Watching the opening area, I could not see a difference with it on. These 30 textures are apparently not the foliage, which still shimmers either way. If someone recognises which surfaces such slots are (544 KiB, repainted through an aliased view all session), this would show where to look. Otherwise it is a cheap correctness improvement with no visible payoff found so far.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SEGb52ApL88uPMf5GhSz8K
@TaynanGT on GitHub · 2026-11-27 14:57 UTC · original
@nullexxx The change detection moving from 13–45 frames to mostly 1–3 is worth following. At 30 hot slots, the checks read about 1.4 MiB each frame. Compare the same lighting and camera, and record how many slots remain hot after moving to a different area. That should show both the visual effect and the long-session cost.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.