Place small dynamic descriptor tables at the high end #1642

Merged
Ondra97 merged 1 commit from upstream-pr/1642 into main 2026-11-29 08:16:55 +00:00
Ondra97 commented 2026-11-28 22:52:02 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Ondra97 on 2026-11-28T22:52:02Z.


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.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5545367330 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1642). Originally posted by [Ondra97](https://github.com/Ondra97) on 2026-11-28T22:52:02Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
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.

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