Skip to content

test(gpu): cover multi-tick late frame waits - #3

Open
oddmaniv wants to merge 1 commit into
review-base/pr319from
test/late-frame-synthetic-coverage
Open

oddmaniv wants to merge 1 commit into
review-base/pr319from
test/late-frame-synthetic-coverage

Conversation

@oddmaniv

Copy link
Copy Markdown
Owner

Adds isolated synthetic-clock regression coverage for Marvisak#319:

  • Flip and vblank waits catch up to the latest elapsed tick after several intervals.
  • Origin waits still target a future tick.
  • A previously consumed event tick is not reused.

The fixture runs in a fresh test process so it cannot change the global clock used by other frame tests. It does not sleep on its synthetic multi-hour intervals.

This is a test-only follow-up to the existing late-wait change by xmvo, not a new implementation of that fix. The existing PR's production change and original regression remain unchanged. The standalone follow-up patch adds only the new test.

Verification on Windows with Rust/Cargo 1.98.1:

No full workspace test run, game execution, or GPU execution was performed for this follow-up. This does not claim an in-game performance result or resolution of the separately reported Marvisak#174 interaction.

AI assistance was used in preparing the test and verification.

Exercise late flip/vblank catch-up, future origin ticks and consumed
slots with an isolated synthetic frame clock. Follow-up coverage for
Marvisak#319; no production changes in this test-only patch.
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