Trace the missing raw vertex SRV behind an identity-buffer fallback #2695
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#2695
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-26 02:20 UTC · original
Refs #870 and #1146.
A local graphics-path measurement on a diagnostic build based on
a6c8d80dfound a non-indexed 6,468-vertex draw whose VS reads one 32-byte record per six vertex IDs. The active root table's first four descriptor words contained a small nonzero word followed by three zeros. The direct buffer resolver obtained a zero-length range. The render launcher's identity fallback supplied 256 bytes, confirmed by a GPU copy. Stream output contained 48 finite positions outside the clip volume, followed by 6,420 positions with NaNs in all four components. GPU pipeline statistics counted 2,156 input triangles and zero rasterized primitives. The RGBA16_FLOAT target was zero before and after the draw.Work requested
Public reproductions should use source-built inputs. The measured sequence identifies the failed binding during this draw. Its original writer and the expected scene contribution remain open.
@R0Y00 on GitHub · 2026-11-26 03:08 UTC · original
Two existing source-built fixtures give this task a starting point. On
02ea97ed, WARP and RTX 4060 Laptop passed all four tests selected by:The address-SRV fixture checks raw base and interior ranges through the table. The frame-copy fixture distinguishes a rewrite between draws from an unchanged source. They exercise a pixel load. For the producer-specific fixture here, keep the same resolved table path, run the load in the vertex shader at byte offsets on both sides of 256, and compare an accepted copied descriptor with a stale or empty source slot. Record the descriptor increment and whether the desktop record and guest bytes agree. The two passing controls do not identify the actual executable's descriptor writer.
@R0Y00 on GitHub · 2026-11-26 03:31 UTC · original
The source-built vertex half is in #2720. Both WARP and RTX 4060 Laptop matched all 32 pixels with a full view, a short stale binding, and the restored full view. The fixture checks guest-visible bytes after each copy and uses the reported descriptor increment. The remaining task is identifying the original producer for the observed slot; this fixture supplies the known writer and short-view controls.
@R0Y00 on GitHub · 2026-11-26 05:09 UTC · original
#2743 adds a source-built check for two raw vertex SRVs used together in one draw. It compares the copied guest records before the draw, verifies the channel swap and restore, and confirms that intentionally using the first table offset for both bindings collapses the channels in all 32 pixels. WARP and RTX 4060 Laptop passed both arms. With the existing short-view test, this gives a reference for separating a record-copy error from a repeated table offset. The executable still needs the writer of the two observed records traced.
@lambirou on GitHub · 2026-11-26 10:50 UTC · original
Producer trace: blocked on reaching the draw, not on the fixture
Current state after #2720 and #2743 (both merged): the resolved-table path, the short stale view, two records in one table, the record copy and the channel swap all have source-built coverage. What they do not identify is who wrote the slot in the executable.
I tried to get the window for that trace with a local reference run (
a6c8d80d, revision-14 cache, storage path set, 600 s, details in #870). It reaches 344.7 s and 201,517 translated draws, but the indirect path is never entered:With zero
ExecuteIndirectlookups there is no slot-61 draw to instrument, so a "last writer of the slot" trace cannot yet be anchored to the observed 6,468-vertex draw on this host.Next step that can be done without the maintainer's scene: add opt-in writer tracing to the startup command-list recorder (heap, root-table base, descriptor increment, binding/recording/execution order) and replay the same revision until the draw appears. I do not have that replay locally. If the exact command-list region or a diagnostic build that reaches it exists on your side, I can prepare the tracing patch against it.