GPU: limit repeated waits for pending pipelines #3607

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

@⁠pablogonz12 on GitHub · 2026-11-27 20:38 UTC · original
pablogonz12:upstream-pending-wait-once → main · +22 −1 · 1 files · 1 commits · open

Summary

I limit the total time spent waiting for a pending pipeline to one 500 ms budget from its first wait. Once overdue, it is still made by its worker, but later frames no longer wait another 500 ms for it.

Evidence

  • I added a regression test that fails before the fix and passes after it under Wine.
  • I ran the full GPU unit suite under Wine: 230/233 passed. The three failures also fail individually on clean main.
  • Windows-target clippy passed with -D warnings.
  • I measured 1.3 to 2.0 fps in one run of our build; this is a single run, not an isolated comparison of this patch.
  • Tested on RX 9070 XT / RADV under Proton; not tested on NVIDIA hardware.

Merge Danger

Door: Two-way.

Blast Radius: Rendering. A pipeline still compiling after its deadline may cause draws, including one-shot passes, to be skipped until it is ready.

**@⁠pablogonz12** on GitHub · 2026-11-27 20:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/3607) `pablogonz12:upstream-pending-wait-once` → `main` · +22 −1 · 1 files · 1 commits · open ## Summary I limit the total time spent waiting for a pending pipeline to one 500 ms budget from its first wait. Once overdue, it is still made by its worker, but later frames no longer wait another 500 ms for it. ## Evidence - I added a regression test that fails before the fix and passes after it under Wine. - I ran the full GPU unit suite under Wine: 230/233 passed. The three failures also fail individually on clean main. - Windows-target clippy passed with `-D warnings`. - I measured 1.3 to 2.0 fps in one run of our build; this is a single run, not an isolated comparison of this patch. - Tested on RX 9070 XT / RADV under Proton; not tested on NVIDIA hardware. ## Merge Danger **Door:** Two-way. **Blast Radius:** Rendering. A pipeline still compiling after its deadline may cause draws, including one-shot passes, to be skipped until it is ready.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:42:16 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3607'
git switch 'github-bot/gh-3607'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3607'
git switch 'github-bot/gh-3607'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3607'
git switch 'main'
git merge --squash 'github-bot/gh-3607'
git switch 'main'
git merge --ff-only 'github-bot/gh-3607'
git switch 'main'
git merge 'github-bot/gh-3607'
git push origin 'main'
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/Marvisak--VIctory!3607
No description provided.