perf(gpu): pool and recycle shadow::exact() buffers with GPU quarantine #181
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!181
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@BE29ZZ on GitHub · 2026-11-27 19:22 UTC · original
BE29ZZ:perf/exact-buffer-pool→main· +673 −50 · 2 files · 1 commits · open### 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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.