Copy GPU-written texture views after a CPU upload #141
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!141
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-141"
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 04:02 UTC · original
TaynanGT:fix/vi-br-gpu-texture-alias→main· +104 −2 · 3 files · 1 commits · merged 2026-11-27 04:07 UTCThe renderer tracked texture uploads and alias copies with the same first-use flag. A CPU upload could set that flag before a texture view needed to copy the GPU-written data in the same command list.
Track the last GPU source copied into each host view for the lifetime of the recording. The copy runs after a CPU upload and when a different GPU source supplies the view. Repeated reads from the same source still use the existing state check.
The regression writes a known texel on the GPU, records the CPU upload and alias copy in one list, then reads the view back. It returned zero before the fix and the seeded texel afterward on the RTX 4090.
Adapted from the VI-BR-PORT commit and kesku's original fix.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 04:02 UTC · original · edited 2026-11-27 04:05 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
7993c1b7993c1bℹ️ 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.