Shader info: show stage I/O even when instruction decoding fails #353

Manually merged
github merged 1 commit from gh-pr/353/head into gh-pr/353/base 2026-11-26 04:00:21 +00:00
Owner

@⁠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 UTC

Show the native stage and its input/output metadata in victory shader-info --disasm alongside 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 --locked on 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.

**@⁠FIocker** on GitHub · 2026-11-24 02:31 UTC · [original](https://github.com/Marvisak/VIctory/pull/353) `FIocker:shader/show-stage-io` → `main` · +5 −3 · 1 files · 1 commits · merged 2026-11-25 00:10 UTC Show the native stage and its input/output metadata in `victory shader-info --disasm` alongside 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 --locked` on 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:00:19 +00:00
github manually merged commit e6ebec9ccf into gh-pr/353/base 2026-11-26 04:00:21 +00:00
Author
Owner

@⁠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 at e6ebec9ccf0bc27cfe0b5509ec3d07a0969eb25f.

  • 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

**@⁠jeremygold02** on GitHub · 2026-11-24 04:25 UTC · [original](https://github.com/Marvisak/VIctory/pull/353#issuecomment-7122009333) · 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 at `e6ebec9ccf0bc27cfe0b5509ec3d07a0969eb25f`. - `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](https://github.com/Marvisak/VIctory/blob/e6ebec9ccf0bc27cfe0b5509ec3d07a0969eb25f/apps/victory/src/shader.rs)
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!353
No description provided.