GPU: report whole blocks released by both texture pools #3766
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!3766
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3766"
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?
@tyr0nsur on GitHub · 2026-11-30 06:26 UTC · original
tyr0nsur:codex/texture-heap-release-stats→main· +110 −21 · 2 files · 1 commits · closed without mergingWhat it changes
The texture-block census was counting the main texture pool only. The live texture totals already include the separate pool for 4 KiB-aligned textures. With
VICTORY_POOL_STATS=1, count both pools and show the smaller pool's live and released blocks separately. The diagnostics memory line also separates whole texture blocks from host-buffer blocks.A release is counted when a pool drops its reference to a whole block. DXGI usage is the separate measure of what the driver reports. #2724 has already preserved cumulative slot-eviction totals on main.
How it was tested
cargo test -p victory-gpu --features diagnostics --locked --lib pool::tests::passed (31 passed, 3 ignored). The staged asset-policy check passed for both changed files.e1251c31and on this PR, inbgrx_plane_selects_a_typed_view(#2646),bindings_record_no_workandevery_switch_of_the_translator_is_in_the_key(#4297). The full-tree asset check also flags an unchanged test literal invictory-shader/src/native.rs.Checked for overlap
Developed with Codex and reviewed with Claude Opus 5.5.
After the upstream history rewrite, the final two-file patch was rebuilt on
7d93ee07. At head8e953903,cargo test --locked -p victory-gpu --features diagnostics --lib pool::tests -- --test-threads=1passed with 31 passed and 3 hardware benchmarks ignored.github-bot referenced this pull request2026-11-30 09:34:54 +00:00
GPU: report slot eviction totals and whole texture blocks let goto GPU: report whole blocks released by both texture pools0f3b3eab9fto8e953903c3@trustno1-coder on GitHub · 2026-12-01 18:48 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed