GPU: report whole blocks released by both texture pools #3766
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T06:26:00Z.
What 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(#4296). 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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:48:52Z.
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