translate --warm misses embedded DXBC before the end of a file #736
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#736
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?
@yualk on GitHub · 2026-11-25 06:02 UTC · original
Reproduced on
8dd30ab472697c47b141c273c2a00f8ce1c00520with two distinct, authored, valid DXBC containers and no title data.victory translate <input-directory> --warm <wanted-file> --jobs 2. It exits successfully but reports 1 asked, 0 found. A separate--warm allinto an empty cache reports 2 translated, but the runtime cache lookup for the exact first container still misses; the second (at EOF) hits. Warming the first as a standalone file hits normally.apps/victory/src/shader.rsto its DXBC header’s declared byte length before validating it. The same targeted run now finds exactly 1, and the runtime cache hits for the first but still misses an unrequested decoy. With--warm all, both exact runtime slices hit. An intentionally different host wave still misses. A focused Rust regression also passes with two containers and unrelated prefix/suffix bytes.No retail title was launched, no driver PSOs were populated by warmth, and no wall-clock boot or FPS gain is inferred. The issue is raw discovery handing the warm path
&file[offset..]rather than the container itself.