Textures: fit streamed mip levels into the fullest suitable tile heap #3299
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3299
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3299"
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?
@Heldenkrieger01 on GitHub · 2026-11-29 21:27 UTC · original
Heldenkrieger01:perf/tile-heap-packing→main· +31 −9 · 1 files · 1 commits · closed without mergingA small mip level could use space in the first tile heap even when it fit exactly in another. This could force a new 64 MiB allocation for the next larger mip. The allocator now chooses the fullest heap that fits the request and keeps the free tile count alongside its ranges.
On a 10 GiB RTX 3080, the same sequence left 640 tiles available in one heap and 192 in another, then requested 192 and 640 tiles. Main allocated three heaps and added 192 MiB of DXGI local usage. This branch allocated two and added 128 MiB. Three fresh processes per build gave the same result. Savings depend on allocation order and apply when streamed levels use the tiled path.
The levels-on-demand regression exercised packing, tile reuse, copies and shader sampling on both WARP and the RTX 3080 with the D3D12 debug layer enabled. Both passed.
In-game A/B on a 10 GiB RTX 3080
The opening scene showed no repeatable tile-heap saving. Both patched runs held 256 MiB of tile heaps. The two baseline runs held 256 and 192 MiB. The change in whole-process local usage changed sign when run order was reversed.
Serial runs from the same copied save used the Series S 720p scene profile, DLSS Quality, frame generation off, and
VICTORY_LEVELS_ON_DEMAND=1on both sides. The launcher normally disables tiled levels. Each run used the 45-second window starting 80 seconds after the first world interval with at least 500 draws/frame. FPS uses the mean logged interval between title presents. VRAM is the game's DXGI local-segment usage. All builds used the same diagnostics compilation fixes from #3086. Results cover this scene and adapter.Created with GPT-6.2-Astra in the Codex harness.
Pull request closed