Repository navigation
Conversation
…esh pass A completed two-pass mesh dispatch can leave depth/colour compression metadata (HiZ/ZCull/DCC) that a later operation trips over ~20-25 s later (0x887A0005, no DRED page fault). The in-tree path mesh_draw cannot exercise this: it binds no depth buffer and uses R32G32B32A32_FLOAT, which gets no delta colour compression. mesh_poison binds the game's target shape - the rt_formats colour targets plus a dsv_format depth buffer - primes depth compression by writing it in a first pass, then runs what a normal frame does after it: a depth-reading pass, a colour resolve/copy, and a readback, each a separately fenced submission, so the PoisonReport names the first phase to hang or remove the device (the 10 s fence wait turns a hang into an error). gpu_mesh_poison drives it with a game-shaped pass (128 threads, 128v/128p) into three R8G8B8A8_UNORM targets + a D32_FLOAT_S8X24 depth buffer at 1024 square for 9 frames, matching the 3-RT + depth draws the removal clusters on. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
80aeb85 to
8ab8acb
Compare
|
This PR has merge conflicts ( |
|
Review (head 8ab8acb, diff read, not a merge-check; draft, conflicts with main,
As it stands it's a diagnostic experiment, and it fits better on a branch or in an issue than in the suite. It does skip correctly through AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
#3205 (same author) has the same synthetic record-writing compute shader, but it sweeps mesh shapes; this PR adds a depth/multi-RT compression scenario ( Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Adds a diagnostic that reproduces, offline, the class of GPU hang the two-pass mesh draw causes
in one title: a mesh dispatch that completes but leaves depth/colour compression metadata the
driver trips over on a later operation (~20–25 s later,
0x887A0005, no DRED page fault). Theexisting in-tree path (
runner::mesh_draw) can't exercise this: it binds no depth buffer and usesR32G32B32A32_FLOAT, a format that gets no delta colour compression.What is in it
mesh_poison+PoisonReport+MeshDepthStreamincrates/xcl/src/gpu/recomp/runner.rs:binds the game's target shape (
R8G8B8A8_UNORM+ aD32_FLOAT_S8X24_UINTdepth buffer),primes depth compression by writing it, then runs what a normal frame does after — a
depth-reading pass, a colour resolve/copy, a readback — each a separately fenced submission so
the first phase to hang or remove the device is named.
gpu_mesh_poisonincrates/xcl/src/gpu/recomp/tests.rs: drives it with a game-shaped pass(128 threads, 128v/128p) at 1024² for 9 frames and asserts every phase completed.
Tested
cargo test -p xcl --lib gpu_mesh_poison --no-run: builds clean.Regression run
runner.rsiscrates/xcl/src(test-support code), so this needs the twoxcl-smokeblocks(main vs this head) — pending the GPU run. Draft until then; a maintainer may instead apply the
test-onlylabel after reviewing the diff.Not tested
AI use
🤖 Generated with Claude Code