Skip to content

Prepare bindless buffer copies during scene loading - #3486

Open
Kitrae wants to merge 1 commit into
trustno1-coder:mainfrom
Kitrae:perf/warm-buffer-views
Open

Kitrae wants to merge 1 commit into
trustno1-coder:mainfrom
Kitrae:perf/warm-buffer-views

Conversation

@Kitrae

@Kitrae Kitrae commented Nov 29, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the pr-performance Pull request: makes it faster or use less memory label Nov 29, 2026
@github-actions github-actions Bot changed the title [pr-performance] Prepare bindless buffer copies during scene loading Prepare bindless buffer copies during scene loading Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-performance Pull request: makes it faster or use less memory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant