Shader info: show stage I/O even when instruction decoding fails #353
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!353
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/353/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 02:31 UTC · original
FIocker:shader/show-stage-io→main· +5 −3 · 1 files · 1 commits · merged 2026-11-25 00:10 UTCShow the native stage and its input/output metadata in
victory shader-info --disasmalongside the existing resource layout. Report this parsed metadata before instruction decoding, so a decode error still leaves useful context for shader investigation.Built with
cargo build -p victory --lockedon Windows. Tested the CLI on two synthetic containers containing an empty vertex signature. One had a single end-program instruction. The other had truncated code and reported its decode error. Both printed the vertex stage I/O. The staged asset-policy check passed.@jeremygold02 on GitHub · 2026-11-24 04:25 UTC · original · edited 2026-11-24 04:26 UTC
Tested PR #353 at head
e6ebec9ccf0bc27cfe0b5509ec3d07a0969eb25f(state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged ate6ebec9ccf0bc27cfe0b5509ec3d07a0969eb25f.cargo test --locked -p victory --bin victory— passed (ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s ); cases: run::tests::loader_lock_is_reentrant_and_exclusive.Behavior covered: The CLI test target builds and its existing loader-lock test passes; it does not exercise the new shader survey formatting, and no CLI input was run.
Code: apps/victory/src/shader.rs