GPU diagnostics: skip pipelines by shader hash #70
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!70
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/70/head"
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?
@FIocker on GitHub · 2026-11-24 00:12 UTC · original
FIocker:gpu/diagnostic-pipeline-filter→main· +77 −5 · 3 files · 2 commits · merged 2026-11-24 00:42 UTCAdd
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.@DaviTostes on GitHub · 2026-11-24 01:14 UTC · original
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.