Place small dynamic descriptor tables at the high end #1642

Manually merged
github merged 1 commit from github-bot/gh-1642 into main 2026-11-29 08:21:54 +00:00 AGit
Owner

@⁠Ondra97 on GitHub · 2026-11-28 22:52 UTC · original
Ondra97:codex/descriptor-small-high-draft → main · +183 −39 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

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 #1462 and #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

  • Checked open pull requests and #1138. #444 and #704 change the slot search. #1627 changes resource retention on release and shares a release call site. #1462 and #1508 supply the diagnostics used for the local comparison.
**@⁠Ondra97** on GitHub · 2026-11-28 22:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1642) `Ondra97:codex/descriptor-small-high-draft` → `main` · +183 −39 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC 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 #1462 and #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 - [x] Checked open pull requests and #1138. #444 and #704 change the slot search. #1627 changes resource retention on release and shares a release call site. #1462 and #1508 supply the diagnostics used for the local comparison.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 22:57:34 +00:00
github-bot referenced this pull request from a commit 2026-11-29 08:20:38 +00:00
github manually merged commit 1c147dab6c into main 2026-11-29 08:21:54 +00:00
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!1642
No description provided.