Skip to content

GPU: isolate pipeline completion wakeups and prevent stale frame budget resets - #398

Draft
VlREX wants to merge 1 commit into
fxceless:mainfrom
VlREX:virex/pipeline-wait-isolation
Draft

VlREX wants to merge 1 commit into
fxceless:mainfrom
VlREX:virex/pipeline-wait-isolation

Conversation

@VlREX

@VlREX VlREX commented Nov 25, 2026

Copy link
Copy Markdown

Summary

During startup and streaming, pending pipeline compilation uses a global completion condition variable, waking unrelated pipeline waiters on each completion. Use per-pipeline completion notifications with the same publication protocol. Also prevent delayed callers from older frames resetting the newer frame's pipeline wait budget. Retain configured wait limits, priority and draw fallback semantics.

Validation

Two Rust regression tests added for shared and nonshared budget transitions. An executed JS model checked 524,288 seeded reservation/completion events in shared mode against a separate active-reservation and completed-wait ledger with zero disagreements. Native Rust/Windows and startup frame-time tests pending; model results do not establish speedup. Per-pipeline memory overhead increases slightly. This is separate from intro texture flicker (#269/#343), not a verified visual fix. No game data or new dependencies. AI-assisted (ChatGPT).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant