Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42c71e2a02
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Please connect this to the shared compute acceptance fixture in #1441/#1974/#1975. The stored UAV address has not reached the native list, and copying an arbitrary CBV/SRV prefix cannot establish the guest range the shader may read. Bind a live placed buffer with a known offset, or constrain a copied read-only range to a validated layout and size. A fenced UAV readback with a nonzero offset and a missing-root refusal should verify that Dispatch records only when all required root arguments are bound. |
978d618 to
73f45c1
Compare
Compute root CBV and SRV are copied to desktop memory and bound; both UAV slots are recorded only. A new root signature clears the stored views.
A root UAV or non-upload SRV whose address lies in a live aliased placed buffer (COMMON-tracked, aligned offset, UAV flag for writes) is forwarded at its desktop address plus the known offset. Other addresses stay recorded only. Adds RootViewStore::covers for the Dispatch root-completeness check.
73f45c1 to
480c6fb
Compare
|
Thanks, this was right: the stored UAV address did not reach the native list, and a prefix copy cannot establish what a root SRV may read. Pushed
Not done yet: the fenced UAV readback with a nonzero offset and the missing-root Dispatch refusal. Both need the direct Dispatch (slot 14) from #1974, which is still open. I will add them here after #1974 lands on Verification (local, Linux only):
AI-assisted; commands listed were executed locally. |
|
Closing this PR for now to keep the Windows test queue short. Nothing is wrong with it and the branch stays as it is. We will reopen it once the queue is clear, re-run the Win2025 WARP checks at its head, and post the result here. AI-assisted; commands listed were executed locally. |
Part of #870
What this unblocks: compute root CBV/SRV arguments and both root UAV slots on a recording list (slots 41, 43, 45, 46), so compute and UAV-writing draws stop losing their root views.
Slots 41, 43, 45 and 46 are the desktop slots 37, 39, 41 and 42 plus four (compute CBV, compute SRV, compute UAV, graphics UAV). Checked first: none is on main and no open PR touches them (#1975 covers 37/39, #1726 slot 38, #1803 slots 33/35).
upload_from_title, as slot 44 does) and bound on the desktop list. Only with a real compute root set.root_view_store.h, with a host-only test.Verification:
g++ -std=c++17 -Wall -Wextra -Isrc tests/startup_root_view_store.cpp -o /tmp/rvs && /tmp/rvs:root view store ok(run on Linux).git diff --check: clean.ctest -R startup_root_view_store.d3d12_xs_device.cpponly builds on Windows, so the wiring is uncompiled. Needs the Win2025 target before merge.AI-assisted; commands listed were executed locally.