Reduce CPU work when returning GPU readbacks #166
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!166
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-166"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-27 05:23 UTC · original
TaynanGT:perf/readback-cpu→main· +221 −68 · 4 files · 2 commits · merged 2026-11-27 05:28 UTCBuild one sorted set of protected ranges per readback and reuse it for all the fetched pieces. The landing workers no longer allocate a vector of addresses for each run, and shadow updates reuse the storage from the first changed page.
Texture readbacks reuse pixel storage and tiling plans on the landing worker. The plan key describes the swizzle and the subresource geometry. The tests check tiled bytes against their expected offsets, compare the new merge with a piece-by-piece merge, and verify that a closed recording keeps its own readback lease.
Both Clippy configurations and 25 focused tests passed locally.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 05:23 UTC · original · edited 2026-11-27 05:27 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
876a02f876a02fℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.