GPU: give screen passes dedicated pipeline workers and wait budget #25

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

@⁠sagouindupm on GitHub · 2026-11-25 15:36 UTC · original
sagouindupm:vitoriabr-screen-pass-workers → main · +125 −39 · 2 files · 1 commits · open

Ports Belobug/VIctory-Belobug-AMD commit 18e57db8 (GPL-3.0-or-later): dedicated pipeline workers and configurable VICTORY_SCREEN_PIPELINE_WAIT_MS budget (default 20 s) for fullscreen/screen passes so UI and fullscreen passes do not get skipped under frame-budget starvation or stall normal world draws.

Summary

  • Detect inputless, depthless, 1-target 3-vertex triangle passes as screen passes (HostPipeline::screen_pass via GraphicsState::screen_pass).
  • Give screen passes their own two-worker pool (victory-screen-pipelines) and dedicated queue/pending tracking with VICTORY_SCREEN_PIPELINE_WAIT_MS (default 20,000 ms).
  • Unit tests covering classification and dedicated queue/worker routing (screen_pass_classifies_inputless_depthless_triangles, screen_pass_uses_dedicated_queue_and_worker).

Verification

  • cargo test --release -p victory-gpu -- pipeline --test-threads=1 (pass)
  • cargo xtask policy (pass)

Credits: Belobug/VIctory-Belobug-AMD (18e57db8).
AI-assisted: Gemini / Claude.

**@⁠sagouindupm** on GitHub · 2026-11-25 15:36 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/25) `sagouindupm:vitoriabr-screen-pass-workers` → `main` · +125 −39 · 2 files · 1 commits · open Ports Belobug/VIctory-Belobug-AMD commit `18e57db8` (`GPL-3.0-or-later`): dedicated pipeline workers and configurable `VICTORY_SCREEN_PIPELINE_WAIT_MS` budget (default 20 s) for fullscreen/screen passes so UI and fullscreen passes do not get skipped under frame-budget starvation or stall normal world draws. ## Summary - Detect inputless, depthless, 1-target 3-vertex triangle passes as screen passes (`HostPipeline::screen_pass` via `GraphicsState::screen_pass`). - Give screen passes their own two-worker pool (`victory-screen-pipelines`) and dedicated queue/pending tracking with `VICTORY_SCREEN_PIPELINE_WAIT_MS` (default 20,000 ms). - Unit tests covering classification and dedicated queue/worker routing (`screen_pass_classifies_inputless_depthless_triangles`, `screen_pass_uses_dedicated_queue_and_worker`). ## Verification - `cargo test --release -p victory-gpu -- pipeline --test-threads=1` (pass) - `cargo xtask policy` (pass) Credits: Belobug/VIctory-Belobug-AMD (`18e57db8`). AI-assisted: Gemini / Claude.
(cherry picked from commit 618b23e775ab1163ca5a9ca2ba31ff4ce71586e3)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:41:26 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/25/head:github-bot/gh-25'
git switch 'github-bot/gh-25'

Merge

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