Prepare bindless buffer copies during scene loading #3486

Closed
github-bot wants to merge 1 commit from github-bot/gh-3486 into main AGit
Owner

@⁠Kitrae on GitHub · 2026-11-29 23:50 UTC · original
Kitrae:perf/warm-buffer-views → main · +150 −18 · 3 files · 1 commits · closed without merging

What it changes

The first bindless buffer pass can create thousands of host buffer copies just as the title draws the world. In a 3840×1080 run on an RTX 4090, preparing nearly 70,000 views took about 0.8 seconds.

  • Mark placed buffer views as their descriptors arrive. Before the first regular heap pass, the existing background helper looks up their backing copies in bounded batches.
  • Keep descriptor publication and refresh ordering in the existing heap pass. Optional preparation stops once that pass is requested and pauses when system memory is under pressure.
  • VICTORY_WARM_BUFFER_VIEWS=0 disables the preparation for A/B runs.

How it was tested

Windows 11, RTX 4090 and i9-14900KF, Series X, 3840×1080 output, DLSS Performance, effective 2× frame generation. A scripted replay loaded the same post-prologue save once per setting with the same local ultrawide release executable and a shared warmed cache.

Metric Off On
First bindless buffer pass 829 ms 577 ms
Longest logged frame near the first world frame 2.24 s 1.76 s
Time from process launch to first world frame 34.22 s 35.10 s

Both runs reached the world. The longest frame was sampled from five seconds before the first world frame through six seconds after it. This pair measures the scene-entry hitch. Total load time and sustained FPS need more runs.

Six focused victory-gpu tests passed, covering the bounded slot batch, slot ordering, the background helper, and relay ordering. The staged asset-policy and whitespace checks also passed.

Checked for overlap

  • Searched open PRs. Related #2334 adds early refresh and texture startup work. This change prepares backing copies for marked placed buffer views before the regular pass.
**@⁠Kitrae** on GitHub · 2026-11-29 23:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3486) `Kitrae:perf/warm-buffer-views` → `main` · +150 −18 · 3 files · 1 commits · closed without merging ## What it changes The first bindless buffer pass can create thousands of host buffer copies just as the title draws the world. In a 3840×1080 run on an RTX 4090, preparing nearly 70,000 views took about 0.8 seconds. - Mark placed buffer views as their descriptors arrive. Before the first regular heap pass, the existing background helper looks up their backing copies in bounded batches. - Keep descriptor publication and refresh ordering in the existing heap pass. Optional preparation stops once that pass is requested and pauses when system memory is under pressure. - `VICTORY_WARM_BUFFER_VIEWS=0` disables the preparation for A/B runs. ## How it was tested Windows 11, RTX 4090 and i9-14900KF, Series X, 3840×1080 output, DLSS Performance, effective 2× frame generation. A scripted replay loaded the same post-prologue save once per setting with the same local ultrawide release executable and a shared warmed cache. | Metric | Off | On | | --- | ---: | ---: | | First bindless buffer pass | 829 ms | 577 ms | | Longest logged frame near the first world frame | 2.24 s | 1.76 s | | Time from process launch to first world frame | 34.22 s | 35.10 s | Both runs reached the world. The longest frame was sampled from five seconds before the first world frame through six seconds after it. This pair measures the scene-entry hitch. Total load time and sustained FPS need more runs. Six focused `victory-gpu` tests passed, covering the bounded slot batch, slot ordering, the background helper, and relay ordering. The staged asset-policy and whitespace checks also passed. ## Checked for overlap - [x] Searched open PRs. Related #2334 adds early refresh and texture startup work. This change prepares backing copies for marked placed buffer views before the regular pass.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 23:54:55 +00:00
github-bot closed this pull request 2026-12-01 18:58:32 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3486
No description provided.