perf(gpu,hle): Phase 1-3 CPU & GPU pipeline optimizations (-45% frame time, -48% GPU list time) #1051

Open
x0sman wants to merge 2 commits from upstream-pr/1053 into main
x0sman commented 2026-11-25 17:36:44 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by x0sman on 2026-11-25T17:36:44Z.


Summary

Hardware-verified performance & stability optimizations for heavy D3D12 workloads (tested in 95s live 3D gameplay on RTX 5070 Laptop GPU 8 GB / 7,123 MiB VRAM budget, 0 crashes).

Base note: Built on \

<!-- greyfinch-sync:fxceless/victory-fork:issue:6610153805 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1053). Originally posted by [x0sman](https://github.com/x0sman) on 2026-11-25T17:36:44Z. --- ## Summary Hardware-verified performance & stability optimizations for heavy D3D12 workloads (tested in 95s live 3D gameplay on **RTX 5070 Laptop GPU 8 GB / 7,123 MiB VRAM budget**, 0 crashes). > **Base note:** Built on \
MKmajster commented 2026-11-25 19:09:47 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by MKmajster on 2026-11-25T18:47:14Z.


Tried on one machine: RTX 3070 8 GB, 16 GB RAM, Series S profile. The tree was main ca8829f with #1016/#1014/#1020/#1032 and the fast switches (INDIRECT_WINDOW, INDIRECT_GATHER, COPY_PLAIN, JOIN_PARTS, BACK_OWN_VIEW, ASYNC_SUBMIT, QUEUE2). Merging this PR on top needed three small resolutions:

  • indirect.rs bound_window: clamp_for(spec.2) from #1016 with this PR's window scratch ring;
  • the held present keeps the Series S overlay;
  • slice.section.0 → slice.section.handle after main's Section struct.

Result: a 142 ms median against 144 and 155 ms for two runs without it. That is within this machine's run-to-run spread, so I could not see the −45 % here. Most of what the PR removes may already be gone on this tree with those switches. No errors. The xmem tests (25) pass.

AI-assisted (Claude Code). No game data attached.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7171398247 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1053#issuecomment-7171398247). Originally posted by [MKmajster](https://github.com/MKmajster) on 2026-11-25T18:47:14Z. --- Tried on one machine: RTX 3070 8 GB, 16 GB RAM, Series S profile. The tree was `main` ca8829f with #1016/#1014/#1020/#1032 and the fast switches (`INDIRECT_WINDOW`, `INDIRECT_GATHER`, `COPY_PLAIN`, `JOIN_PARTS`, `BACK_OWN_VIEW`, `ASYNC_SUBMIT`, `QUEUE2`). Merging this PR on top needed three small resolutions: - `indirect.rs` `bound_window`: `clamp_for(spec.2)` from #1016 with this PR's window scratch ring; - the held present keeps the Series S overlay; - `slice.section.0` → `slice.section.handle` after main's `Section` struct. Result: a 142 ms median against 144 and 155 ms for two runs without it. That is within this machine's run-to-run spread, so I could not see the −45 % here. Most of what the PR removes may already be gone on this tree with those switches. No errors. The xmem tests (25) pass. AI-assisted (Claude Code). No game data attached.
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/1053:upstream-pr/1053'
git switch 'upstream-pr/1053'

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/1053'
git switch 'upstream-pr/1053'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1053'
git switch 'upstream-pr/1053'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1053'
git switch 'main'
git merge --squash 'upstream-pr/1053'
git switch 'main'
git merge --ff-only 'upstream-pr/1053'
git switch 'main'
git merge 'upstream-pr/1053'
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
fxceless/victory-fork!1051
No description provided.