Skip to content

Preserve the current frame's graphics pipeline wait budget - #2414

Merged
trustno1-coder merged 1 commit into
trustno1-coder:mainfrom
NemesisDawn:fix/keep-current-frame-pipeline-wait-budget
Nov 30, 2026
Merged

trustno1-coder merged 1 commit into
trustno1-coder:mainfrom
NemesisDawn:fix/keep-current-frame-pipeline-wait-budget

Conversation

@NemesisDawn

Copy link
Copy Markdown
Contributor

A late draw could reopen the exhausted current-frame allowance. The release granted a stale draw 500 ms; the fix grants zero. Covered 500 ms and 10 s budgets, shared and unshared waits and the per-frame cap. Windows pipeline suite: 71 passed, 2 ignored. Related to #1831; separate from #2188. FPS impact unmeasured.

… budget

Graphics and screen draws could reset the wait ledger to an older frame and then grant the current frame a full second allowance. Reuse the compute path's monotonic frame check for both ledgers and preserve held-frame limits.
@github-actions github-actions Bot added the pr-fix Pull request: fixes a bug label Nov 29, 2026
@github-actions github-actions Bot changed the title [pr-fix] Preserve the current frame's graphics pipeline wait budget Preserve the current frame's graphics pipeline wait budget Nov 29, 2026
moritz-eckhard-nickel added a commit to moritz-eckhard-nickel/VIctory-NVIDIA that referenced this pull request Nov 30, 2026
@trustno1-coder
trustno1-coder merged commit 6b016fc into trustno1-coder:main Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-fix Pull request: fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants