perf(gpu): pool and recycle shadow::exact() buffers with GPU quarantine #181
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/181"
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 BE29ZZ on 2026-11-27T19:22:21Z.
### Problem
On NVIDIA RTX cards (32-lane waves and no raw descriptor twins due to the 1M shader-visible view heap cap), every off-element structured/raw buffer view falls through to \shadow::exact()\ in \crates/victory-gpu/src/shadow.rs. Currently \shadow::exact():
What changed
ow_frame >= last_frame + 2, \Arc::strong_count == 1, and \host::references == 1.
esidency::limited_host_ram()\ is set, else 320 MiB; configurable via \VICTORY_EXACT_POOL_MB=. Setting \VICTORY_EXACT_POOL_MB=0\ disables both pooling and 64 KiB bucket rounding (allocating \len.next_multiple_of(256)\ as before) for clean A/B comparisons.
esidency::pressured()).
Prior community in-game & multi-GPU validation (from the identical Belobug implementation before repo takedown)
Local verification on \main\ (\cef07e) — Windows 11 x64, NVIDIA GeForce RTX 3060, Rust 1.98.1
epository_passes_policy\ clean).
Not tested in the title itself on this machine (no game files here).
AI-assisted; no game data.