victory shaders and shader-info skip files silently and print no skipped count, so the reported totals cannot be compared across reports #29
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@itsonewi on GitHub · 2026-11-25 23:52 UTC · original
The number
victory shadersprints is quoted in several reports as a baseline, and the tool cannot tell you whether it saw every file, so two reports on the same commit cannot be compared.What is counted, and what is dropped
apps/victory/src/translate.rs:408-415(precompile, the code behindvictory shaders):Three separate silences:
filter_map(Result::ok)drops everywalkdirerror: permission denied, a path overMAX_PATHwithout long-path support, a reparse point it refuses to follow.entry.metadata().map_or(0, ...)turns a metadata failure into length 0, so the file is then tried and skipped at the next line.fs::readfailures (locked file, share violation, an AV scanner holding it) are dropped with no line at all.apps/victory/src/shader.rs:78-99(shader-info) has the same shape, plus its ownlet Ok(data) = std::fs::read(path) else { continue }at:90.The summary (
translate.rs:444-448) is onlyso nothing in the output says how many files were read or skipped — and
MAX_FILEis 2 GiB (shader.rs:13), so a big archive is skipped by design and is indistinguishable from a small one that failed.Why that matters here
25,689 shaders in the cache, 200 do not translate.0a43566, quotes25,782in the cache.Ninety-three containers apart. That may be a different dump, or it may be files dropped by one of the three lines above; with the current output there is no way to tell, and the "200 do not translate" figure is being used in this tracker as evidence about cards rather than about dumps.
Suggestion
files read N, skipped K (walk error a, unreadable b, over 2 GiB c).-v/VICTORY_LOG=debugso a report can show them.Not checked
Source reading at
0a43566. I did not runvictory shadershere, and I cannot tell which of the two totals above is due to the dump.AI use
AI-assisted review (source reading). No build, no run, no game files.
github-bot referenced this issue2026-11-26 05:24:49 +00:00