Skip to content

GPU tests: verify scattered refreshes and partial-page copy-back - #1

Closed
SinisterRob wants to merge 1 commit into
borosf:vibe/disjoint-refresh-ranges-842ca5from
SinisterRob:gpu/disjoint-refresh-readback
Closed

SinisterRob wants to merge 1 commit into
borosf:vibe/disjoint-refresh-ranges-842ca5from
SinisterRob:gpu/disjoint-refresh-readback

Conversation

@SinisterRob

Copy link
Copy Markdown

Adds hardware verification to Marvisak#2428. Related to Marvisak#2473.

  • The ignored benchmark records the same 33 refreshes in both builds and reads every requested dword back from the GPU. It alternates dense and scattered layouts, with all pages dirty before each run.
  • The regular regression refreshes two halves of a page and then requests the whole page. After a real GPU copy into the shadow, the test uses the marked-page copy-back path and checks the title value. On main the value stayed zero. With GPU: a submission refreshes a copy's ranges disjoint, not their span Marvisak/VIctory#2428 it is 0xfeed1234.

RX 7900 GRE, Wine 11.22, RADV 26.2.7 and vkd3d-proton 3.1.0. The table gives medians of five process medians, with four warmup pairs and nine measured pairs in each process. The measured interval is Host::execute, including the GPU readback.

Layout CPU refresh bytes on main With Marvisak#2428 Main With Marvisak#2428
Dense 2,162,688 2,162,688 264 µs 218 µs
Scattered 16,777,216 2,162,688 689 µs 309 µs

Seven batch tests passed, and the ignored benchmark passed when run separately. No title assets or frame-time measurements. AI-assisted.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T18:52:17.292731Z cf554ec PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SinisterRob SinisterRob closed this by deleting the head repository Nov 26, 2026
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