GPU diagnostics: skip pipelines by shader hash #70
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/70"
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?
Imported from Marvisak/VIctory. Originally posted by FIocker on 2026-11-24T00:12:45Z.
Add
VICTORY_SKIP_PIPELINESfor diagnostics builds. It takes comma-separated 16-digit shader hashes from the pipeline log and drops draws, mesh dispatches, compute dispatches, and indirect execution for matching pipelines. Indirect work is skipped before the argument clamp can change its buffer. Drop diagnostics report the shader that selected the pipeline.This lets a tester isolate commands involved in a GPU hang without recompiling between runs. Ordinary builds compile out the filter. The parser test uses fabricated hashes.
Validation on x64 Windows:
cargo check --workspace --lockedpassed.cargo test --locked -p victory-gpu --features diagnostics skip_hashes_accepts_full_hashes_onlypassed.cargo test --locked --workspace --features victory/diagnostics -- --skip root::tests::host_serialized_blobs_create_root_signaturespassed the selected tests. The excluded test reproduces its E_INVALIDARG on clean main and is addressed separately by #36.cargo xtask policy --stagedpassed.Imported from Marvisak/VIctory. Originally posted by DaviTostes on 2026-11-24T01:14:07Z.
Tested
38ae55dwith the diagnostics feature on the Windows build under Wine 11.22 + vkd3d-proton 3.1 (Arch Linux x86_64, AMD RX 9060 XT, RADV 26.3.1), with a native Microsoftd3dcompiler_47: pass, no regression.victory_gpu(diagnostics): 39 passed, 2 failed — the two environment-only failures (a_rejected_blob_gives_an_empty_library, and #128's upload skip).No game data used.