runtime: correlate and prove a slot 86 Mesh draw through presentation #3729
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3729
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3727"
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?
@lambirou on GitHub · 2026-12-01 11:34 UTC · original
lambirou:codex/3641-mesh86-presentation-proof→main· +528 −2 · 6 files · 3 commits · openProblem
The slot 86 Mesh path could create a desktop PSO and record a DispatchMesh, but there was no source-built proof that one selected draw reaches the target before composition and appears in the presented frame, with a skipped-draw control and a correlation across record, close and submission.
Change
X2W_MESH86_PRESENT_TRACE=1, naming the list pointer, recording id, published mesh key and group counts. The default path is unchanged when the switch is off.Tests
ctest --preset release --no-tests=error -R '^startup_mesh86_present_' -V— 2/2 pass on WARP and RX 9060 XT (driver 32.0.32029.2010).Limits
This is a source-built fixture; it does not establish full-game startup or title scene output. The sampled root SRV shape is reported, not fixed here (the #3641/#3640 work covers it).
Refs #3643, #3543, #3640
@lambirou on GitHub · 2026-12-02 14:45 UTC · original · reviewed
Reviewed
b7d2a01f; read the recording/submission correlation and the presentation fixture, not built here.Verdict: approve. The trace is opt-in, bounded to 48 rows per stage, and records the same id at indirect-record time, list close, reset and queue submission. The argument record is read only when its title bytes are readable, so an unreadable record reports
groups_known=0instead of faulting.mesh86_trace_id()is documented as "call under allocator_lock"; the record path does, butqueue_executereadsstate.mesh86_trace_recordingwithout a visible lock on the same field. If the list cannot be submitted concurrently with a record/reset, add that invariant to the comment; otherwise the field needs the same lock.first_callscounter, so the 48-row bound is shared by every list. That is intentional for log volume, but the comment should say it is process-wide rather than per recording.X2W_MESH86_PRESENT_TRACEorX2W_D3D12_TRACE_DIRECT_MESHis set; reset logs an unsubmitted recording and clears it; close and submit log the same id; the fixture proves the target and presented-frame correlation.The PR remains stacked on the Mesh86 bases and is currently
DIRTY; rebase before merge.b7d2a01ffdto9e0edbdae4View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.