fix(formats): map console texture formats 189-191 #225
No reviewers
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/trustno1-coder--VIctory-NVIDIA!225
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-225"
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?
@mutlusinan on GitHub · 2026-11-27 19:53 UTC · original
mutlusinan:fix/formats-189-191→main· +16 −2 · 1 files · 1 commits · openProblem
Console texture format numbers 189, 190 and 191 had no layout:
victory_formats::texture::formatreturnedNonefor them, so any texture in one of those formats could not be sized or detiled.Fix
189 and 191 are 4 bytes a texel, 190 is 1 byte; they now join the DXGI families they belong to. A test pins the three layouts.
Verification
cargo test -p victory-formats— 43 passed, 0 failed (5 ignored), including the newconsole_formats_have_layouts.cargo check --workspace --target x86_64-pc-windows-msvc --locked— clean.Ported from uiliannn/VItoriaBr
0d1c4e0(GPL-3.0).@mutlusinan on GitHub · 2026-11-27 20:21 UTC · original
Risk assessment (porting review)
mainate69e39c.@cloph-dsp on GitHub · 2026-11-27 22:58 UTC · original
Independent local verification of PR #225 (map console texture formats 189–191).
cargo test --locked, synthetic inputs only.9fd09c35f28b91a8db82b499b8999990f1cd4035, merge base0cef07e9d766df48f0e95f13ce3bbbe2290fe9d3, worktree-localCARGO_TARGET_DIR.cargo test --locked -p victory-formats --lib -- texture::tests::console_formats_have_layouts --exact --test-threads=1 --quiet→test result: ok. 1 passed; 0 failed; 47 filtered out, exit 0.git grep -F console_formats_have_layouts 0cef07e9 -- crates/victory-formats/src/texture.rs→ exit 1 (test absent on base).git diff --check 0cef07e9 HEADclean; diff 1 file, +16/-2.Only the named test was replayed; full suite not run. GPU/driver N/A (CPU-only). AI-assisted (Hy4 flash). No game data, assets, extracted shaders, DRM or decrypt.
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.