resolve the 128-byte mesh root SRV for slot 86 #3641
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#3641
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@R0Y00 on GitHub · 2026-11-30 19:13 UTC · original
Main implementation
#3720 merged at
8ab9043f. The committed-buffer root SRV resolver now checks the live resource, alignment and requested span. Its WARP probe exercised a valid binding and refused misaligned, out-of-range and readable-but-untracked addresses. Keep the issue open for the matching scene route and the warm-run checks below. #3765 tracks the geometry-stream mismatch.Status update · 2 December 2026
The sampled direct dispatches passed this binding stage in a local C++ working tree. Keep this issue as the implementation record until branch coverage and integration are verified. The active scene blocker is now tracked at #3765. See #870 for the measured checkpoint.
Refs #870, #3547, #1914 and #3640. Target
main.In a local C++ runtime trace, a slot 86 Mesh PSO was created and selected. Its direct
DispatchMeshreached material binding. The first refusal was mesht1, root parameter 3, a root SRV with a 128-byte minimum read. The current binder found no mapped backing for the bound address. The earlier committed-buffer refusal no longer blocked this pipeline.Performance and code quality
Keep public evidence title-neutral and use source-built fixtures.
@Leyukaka on GitHub · 2026-11-30 21:36 UTC · original
Taking the first two items. Plan: trace the slot 86 graphics root-SRV setter (mesh
t1, root parameter 3, 128-byte minimum read) to its memory owner, map the proved span to a desktop read-only view whose lifetime follows the queue fence, and add a source-built test with a known value, a control for an unbacked or out-of-range address, and a check that the view cannot read an unrelated allocation. This changes the root-SRV bind path in the material binder. The local-profile report and the bind-time measurements follow once the binding holds. Status goes on this issue.Environment: Windows 11 x64, MSVC 19.44, WARP and one hardware adapter.
@Kawiu on GitHub · 2026-11-30 22:27 UTC · original
Note from a local run, in case it changes the priority of this item: on our capture the title creates slot 86 (Mesh86) pipelines only when
X2W_REFUSE_FIXED_MESH=1refuses the slot 57 fixed mesh creations.Without that switch, the same build creates no Mesh86 pipeline.
DispatchMeshthen comes from slot 57 pipelines (43 calls) and slot 55 pipelines (5 calls), and loading continues:So the 128-byte
t1read is on the path that the refusal switch forces.Counts are from three runs on one AMD host at main
d5970858. Not verified on another title state.s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705idxen offenraw loads through a reflected table record #3707s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705s_bitset1_b32, then stop at a scalar loop #3705@Leyukaka on GitHub · 2026-12-01 10:15 UTC · original
I'm continuing the slot 86 direct mesh root-SRV work here. The source-built fixture passes on WARP and hardware for a known 128-byte read, out-of-range and unbacked refusals, and backing replacement. The current patch improves range validation and refusal diagnostics. Resolving the unmapped address seen in the original trace is still open.
My current local profile creates Mesh86 PSOs but never selects one or reaches slot 129. If you have the reproduction settings for the #3640 direct-dispatch observation, the base revision, relevant switches, and input sequence would help reproduce that bind without sharing any application data.
I'm limiting this work to the root SRV. The large placed-buffer path in #3642 and the GPU-to-CPU census in #3678 are tracked separately.
@Leyukaka on GitHub · 2026-12-01 12:53 UTC · original
Status after #3720: the committed-buffer resolver is merged. I found that its fallback could also return a placed buffer after the material binder refused it. A local patch keeps those buffers on the original validation path. The grouped checks passed 5/5, including the fallback probe and Mesh86 cache tests on WARP and hardware.
The remaining checks here are a known-value 128-byte read from a genuinely non-placed buffer, and a local run that reaches slot 129 so we can verify the bind and measure its cost. The previous run reached PSO creation only.
P0: resolve the 128-byte mesh root SRV for slot 86to resolve the 128-byte mesh root SRV for slot 86s_bitset1_b32, then stop at a scalar loop #3705github-bot referenced this issue2026-12-02 07:05:29 +00:00
github-bot referenced this issue2026-12-02 07:28:58 +00:00
github-bot referenced this issue2026-12-03 10:35:12 +00:00