Shader info: show stage I/O even when instruction decoding fails #353
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/353"
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-24T02:31:59Z.
Show 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.Imported from Marvisak/VIctory. Originally posted by jeremygold02 on 2026-11-24T04:25:42Z.
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
Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T06:56:49Z.
Review: APPROVED
Tested
e6ebec9on Windows 11, RTX 5070, MSVC:cargo test --workspace --no-fail-fastpasses (264 passed, 0 failed).Layout and used-resource lines now go out ahead of
gfx10::decode, still underif disasm, plus the new stage I/O line. A decode failure keeps that context, and the successful path prints the same lines as before plus I/O, in the same order. No change without--disasm.No issues found.
AI-assisted (Claude Code).