GPU/draw: retain pipeline objects only once per list #1200

Open
github-bot wants to merge 1 commit from github-bot/gh-1200 into main AGit
Owner

@⁠nicolasveilleux on GitHub · 2026-11-25 23:47 UTC · original
nicolasveilleux:perf/keep-pipeline-once → main · +36 −2 · 3 files · 1 commits · open

Retain each D3D12 pipeline state and root signature pair once per command-list recording instead of re-acquiring and appending references on every pipeline rebind. The retained references prevent pointer reuse until reset. This keeps per-bind timing and pipeline naming unchanged.

Adapted from avatarmanz/VIctory-7900XTX ab86ef7, itself based on romainhedouin's Belobug change 92d353f8.

Validation on Windows 11, RTX 2070 Super: 15 targeted release tests passed, including alternating two pipeline pairs, rebinding the first, and checking that reset clears retained references. Public code and synthetic data only; no gameplay FPS claim.

**@⁠nicolasveilleux** on GitHub · 2026-11-25 23:47 UTC · [original](https://github.com/fxceless/victory-fork/pull/1200) `nicolasveilleux:perf/keep-pipeline-once` → `main` · +36 −2 · 3 files · 1 commits · open Retain each D3D12 pipeline state and root signature pair once per command-list recording instead of re-acquiring and appending references on every pipeline rebind. The retained references prevent pointer reuse until reset. This keeps per-bind timing and pipeline naming unchanged. Adapted from [avatarmanz/VIctory-7900XTX ab86ef7](https://github.com/avatarmanz/VIctory-7900XTX/commit/ab86ef7f3ffba5cb7e8e21009f28f437222087da), itself based on romainhedouin's Belobug change 92d353f8. Validation on Windows 11, RTX 2070 Super: 15 targeted release tests passed, including alternating two pipeline pairs, rebinding the first, and checking that reset clears retained references. Public code and synthetic data only; no gameplay FPS claim.
Adapt the lifetime bookkeeping in avatarmanz/VIctory-7900XTX ab86ef7f3ffba5cb7e8e21009f28f437222087da (itself based on romainhedouin, Belobug 92d353f8). Keep Fxceless per-bind timing unchanged and key retention by both PSO and root signature.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:59:23 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/draw.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1200/head:github-bot/gh-1200'
git switch 'github-bot/gh-1200'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1200'
git switch 'github-bot/gh-1200'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1200'
git switch 'github-bot/gh-1200'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1200'
git switch 'main'
git merge --squash 'github-bot/gh-1200'
git switch 'main'
git merge --ff-only 'github-bot/gh-1200'
git switch 'main'
git merge 'github-bot/gh-1200'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.