Repository navigation
Conversation
The translated two-pass mesh draw hangs (0x887A0005) in one retail title about 20-25 s after the first mesh pass, while a minimal single-dispatch repro completes. gpu_mesh_shape_sweep drives the real two-pass draw path (runner::mesh_draw_split) across the MsInterface shapes a title produces: thread counts, vertex/primitive counts up to the D3D12 maximum of 256/256, and output-element counts that cross the 32 KB per-group output limit into the split path, with one synthetic full record per shape. A shape-dependent removal shows up as the one shape whose draw errors (the 10 s fence wait turns a hang into an error too) while smaller shapes pass; all passing means the pipeline shape alone is not the trigger. Test-only: one #[test] in crates/xcl/src/gpu/recomp/tests.rs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Review (head c6a92d9, diff read, not a merge-check; draft, test-only, conflicts with main):
Fine: it skips through AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
#3207 (same author) has the same synthetic record-writing compute shader, but it tests a different hypothesis: depth/colour compression after a mesh pass, not the mesh shape. Not a duplicate, though one shared helper would avoid the copied HLSL if both land. Neither test has run on a GPU yet (per the description). No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
|
Test report for Tested
So on this card the pass-through mesh pipeline draws every shape in the sweep. That includes 256/256, the split path, the retail 21-row shape and the compact-group split, all with well-formed records. On Foniass's point about For context: on this card the retail title still hangs in the two-pass mesh pass, in the café (#505, comments 7308187998 and 7308721098). There it is Not tested
AI use: Claude Code with Claude Opus 5.5 built the PR in a separate worktree, ran the test, read its code, and wrote this report. The run was on this machine. |
Adds a GPU test that sweeps the pass-through mesh pipeline across the
MsInterfaceshapes aretail title produces, to pin down a shape-dependent GPU hang in the translated two-pass mesh
draw (the one behind
0x887A0005~20–25 s after the first mesh pass, while a minimalsingle-dispatch repro completes).
What is in it
gpu_mesh_shape_sweepincrates/xcl/src/gpu/recomp/tests.rs: for each shape (thread count,vertex/primitive counts up to 256/256, output rows crossing the 32 KB per-group limit into
the split path) it writes one synthetic full record with a compute shader and rasterises it
through the real two-pass path (
runner::mesh_draw_split). The first shape whose draw errors(a hang becomes an error via the 10 s fence wait) is reported with its parameters; all passing
means the pipeline shape alone is not the trigger.
Tested
cargo test -p xcl --lib gpu_mesh_shape_sweep --no-run: builds clean.cargo test --workspace -- --test-threads=4counts and anySKIPPED.Not tested
AI use
🤖 Generated with Claude Code