fix(formats): map console texture formats 189-191 #225
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mutlusinan on 2026-11-27T19:53:50Z.
Problem
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).Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mutlusinan on 2026-11-27T20:21:22Z.
Risk assessment (porting review)
mainate69e39c.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cloph-dsp on 2026-11-27T22:58:41Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T02:49:25Z.
Merged into main (
8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!Pull request closed