Skip to content

Place small dynamic descriptor tables at the high end - #1642

Open
Ondra97 wants to merge 1 commit into
trustno1-coder:mainfrom
Ondra97:codex/descriptor-small-high-draft
Open

Ondra97 wants to merge 1 commit into
trustno1-coder:mainfrom
Ondra97:codex/descriptor-small-high-draft

Conversation

@Ondra97

@Ondra97 Ondra97 commented Nov 28, 2026 •

Copy link
Copy Markdown

Related to #946.

What it changes

On capped D3D12 view heaps, small tables can split free ranges so that a larger contiguous table fails even when enough individual slots are free. With VICTORY_DYNAMIC_SMALL_HIGH=1, requests for one to four slots take the highest fitting range, and larger requests keep the existing next-fit cursor. The option is off by default. Heap capacity and the title slot range stay the same.

How it was tested

  • RTX 4070 Ti SUPER, Windows, Series X, 1440p output, DLSS Performance, frame generation off, no explicit ray-tracing override. Matched saved scene and warmed cache, with 262,144 dynamic slots in every run.
  • Before and after: the warmed control dropped 5,622 descriptor-table binds. The two enabled runs dropped 4,442 and 1,537, respectively. The earlier control dropped 7,780 while pipeline compilation was still active. Peak drops per frame in a reporting window were 86.80 for the warmed control and 21.77 / 26.05 for the enabled runs.
  • The gameplay measurements used the same allocator change with local Count failed descriptor-table binds separately #1462 and Distinguish descriptor slot exhaustion from fragmentation #1508 instrumentation. Warm rendered FPS was 20.70 vs 20.95 / 21.25. That sample does not establish a repeatable FPS increase or visual equivalence.
  • On this standalone branch, three targeted allocator tests passed, including 8,000 operations checked against reference scans. Four existing dynamic-slot tests also passed. The full victory-gpu suite has not been run. The release test build used the lockfile offline with stable Rust.
  • The exact standalone release executable also completed a ten-minute manually controlled playtest at the configuration above with the option enabled. The log confirmed 262,144 dynamic slots and the four-slot placement limit. No crash or device removal was observed. The release warning for a dynamic table allocation miss still appeared. This standalone run was a stability and configuration check.

Checked for overlap

@github-actions github-actions Bot added memory RAM or VRAM use, out of memory, leaks NVIDIA pr-performance Pull request: makes it faster or use less memory rendering Missing, black, flickering or corrupted graphics labels Nov 28, 2026
@github-actions github-actions Bot changed the title [pr-performance] [rendering] [memory] [NVIDIA] Place small dynamic descriptor tables at the high end Place small dynamic descriptor tables at the high end Nov 28, 2026
@Ondra97
Ondra97 marked this pull request as ready for review November 28, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

memory RAM or VRAM use, out of memory, leaks NVIDIA pr-performance Pull request: makes it faster or use less memory rendering Missing, black, flickering or corrupted graphics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant