GPU: a capped view heap's warning fires once per title slot past it (310,720 lines in one world load) #3474
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Marvisak/VIctory. Originally posted by tharun-37 on 2026-11-27T05:14:46Z.
What happens
A host whose shader-visible descriptor heap is smaller than the title's descriptor table (NVIDIA caps them at 1,000,000 descriptors) cannot hold every title slot. Each slot it could not hold logs a warning of its own:
The warning is meant for the first slot past the heap, but it fires for every new highest index the title reaches. A GTA VI world load on an RTX 4060 Laptop produced 310,720 such lines and a 140 MB log file, and the number of slots the title could not place was nowhere in it.
Why it matters
Change
Verification
cargo test -p victory-gpu— 230 passed, 1 ignored; the 2 failures are the known NVIDIA heap-cap ones (dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_views), reproduced onmain.cargo clippy -p victory-gpu --all-targets -- -D warnings, with and withoutdiagnostics— clean.Seen while reproducing the NVIDIA hang in #2661.