Window arena: pool tiles taken at first fill (VICTORY_ARENA_LAZY=1, off by default) #5014
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5014"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by xteral67 on 2026-12-01T17:17:51Z.
Depends on #4750 and #4922 (this branch is built on #4922).
What it changes
With the window arena on, every tile of a window takes a 64 KiB tile of the PC pool when the window is made. Many tiles are never written by the title, so that memory is held for nothing.
With
VICTORY_ARENA_LAZY=1a window tile takes a pool tile only when title bytes are first written into it. Until then:A window that shaders are declared to write takes all its tiles at once, because card writes into a tile mapped to nothing would be lost. The diagnostics build also counts window tiles that were never filled.
Off by default. With the switch off nothing changes.
How it was tested
cargo test, other cards, Series S profile, a card with tiled resources tier 1.Checked for overlap
🤖 Generated with Claude Code
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.