Report effect databases in shader-info effects mode #2321
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!2321
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2321"
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?
@DoubleD17 on GitHub · 2026-11-25 10:36 UTC · original
DoubleD17:fix/shader-info-effects-summary→main· +57 −3 · 2 files · 1 commits · openThe shader-info effects mode listed parsed effects and then printed a misleading zero-container summary. Count the SGD5 effect databases the parser recognizes and print that total in effects mode. The standard shader-info command retains its container summary. On Windows with Rust 1.98.1, the synthetic CLI integration test failed on main with the fixture applied and passed on this commit. It covers a recognized effect database, input with zero effect databases, and the standard summary.
AI-assisted.
@cloph-dsp on GitHub · 2026-11-25 11:09 UTC · original
Independent local validation (Windows, Rust 1.100.0/MSVC, head
e3fd720, no game data):cargo test --locked -p victory --test shader_effects-> 1 test passed (shader_effects_has_its_own_summary), exit 0; only pre-existing deprecation warnings.cargo test --workspace --locked --no-fail-fastexits 0 both on this PR and on main940d32f, so the new effects-mode summary adds no regression. AI-assisted (Hy4 flash). GPU/driver: N/A (CPU-only CLI test). No game data, assets or extracted content used.@Marvisak on GitHub · 2026-11-25 15:17 UTC · original
Automated triage for the maintainers.
Merge candidate (worth a look). In
apps/victory/src/shader.rsrun,shader-info --effectsnow counts the SGD5 databases thatlist_effectsfinds and prints that count; before, it printed a container summary that was always empty. The normal mode is unchanged, and effects mode already skipped container and pack handling, so returning early drops nothing. The new integration test uses a small synthetic SGD5 file and the crate's own binary, the same pattern astests/census.rs. CI: passing.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.