Plan front refreshes in the submission list walk #2796

Open
ghptc wants to merge 1 commit from upstream-pr/2796 into main
ghptc commented 2026-11-29 17:24:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ghptc on 2026-11-29T17:24:57Z.


Submission preparation built a temporary sequence of touch records for every joined part, then walked it again to choose the first refreshes. The planner can consume each record during the existing ordered walk. Reusable span storage remains in the batch. Part boundaries, the first write that blocks a refresh and the order of due textures still use the same rules.

A CPU comparison exercised 75,480 resulting spans at three workload sizes with matching identities, bounds and order. With 20 batches and 11,000 input spans, the median across ten alternating baseline/candidate pairs was 327.3 and 284.6 microseconds respectively. This time is for the planner. The change preserves the texture freshness and synchronization decisions.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5553205383 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2796). Originally posted by [ghptc](https://github.com/ghptc) on 2026-11-29T17:24:57Z. --- Submission preparation built a temporary sequence of touch records for every joined part, then walked it again to choose the first refreshes. The planner can consume each record during the existing ordered walk. Reusable span storage remains in the batch. Part boundaries, the first write that blocks a refresh and the order of due textures still use the same rules. A CPU comparison exercised 75,480 resulting spans at three workload sizes with matching identities, bounds and order. With 20 batches and 11,000 input spans, the median across ten alternating baseline/candidate pairs was 327.3 and 284.6 microseconds respectively. This time is for the planner. The change preserves the texture freshness and synchronization decisions.
dyshay commented 2026-11-29 17:48:58 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T17:48:58Z.


Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with --profile diag --features diagnostics, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series S with ray tracing, and Series X, DLSS Quality). Frame times will follow here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7259985820 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2796#issuecomment-7259985820). Originally posted by [dyshay](https://github.com/dyshay) on 2026-11-29T17:48:58Z. --- Merged into our fork's integration branch for testing ([dyshay/VIctory-NVIDIA](https://github.com/dyshay/VIctory-NVIDIA/tree/janus-prs), branch `janus-prs`). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with `--profile diag --features diagnostics`, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series S with ray tracing, and Series X, DLSS Quality). Frame times will follow here.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2796:upstream-pr/2796'
git switch 'upstream-pr/2796'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2796'
git switch 'upstream-pr/2796'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2796'
git switch 'upstream-pr/2796'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2796'
git switch 'main'
git merge --squash 'upstream-pr/2796'
git switch 'main'
git merge --ff-only 'upstream-pr/2796'
git switch 'main'
git merge 'upstream-pr/2796'
git push origin 'main'
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!2796
No description provided.