fix(formats): BC7 rotation only in modes 4 and 5 (BCPack) #23
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!23
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-23"
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?
@CuteBooty on GitHub · 2026-11-27 08:51 UTC · original
CuteBooty:fix/bc7-rotation→main· +107 −2 · 1 files · 1 commits · merged 2026-11-27 09:31 UTCBCPack blocks of modes 0-3, 6 and 7 with nonzero control bits 4:3 had their channel precisions swapped and the p-bit dropped: only modes 4 and 5 have a BC7 rotation field. One file, with a test. No switch.
This is fxceless's fix (fxceless/victory-fork main 06702fe8, after upstream VIctory PR #3111); the commit keeps them as author. It applied to this tree without conflicts.
cargo test -p victory-formatson this branch: 42 passed / 0 failed / 5 ignored.Tested
RTX 3070 8 GB (driver 621.24), Ryzen 5 3600, 32 GB, Windows 11; Series S profile, 1920x1080, your launcher's settings without DLSS, built from source.
1010e023): five runs, 73 minutes in all, 0 logged errors, no device loss. Frame times were not slower than the unmodified tree on the same save: medians of the 5-second lines in a 37-minute run were 64 / 78 / 94 ms at 3,000-5,000 / 5,000-7,000 / 7,000-9,000 draws, against 89 / 104 / 116 ms for the unmodified tree in a 51-minute run the same evening. The routes differed, so read that as "not slower", not as a gain.c437b059(this branch is based there; it merges cleanly onto18a8dc26): the branch compiles (cargo check --locked -p victory --features diagnostics).cargo test --workspace --lockedwith all four changes: 1043 passed / 3 failed / 46 ignored; onc437b059alone: 1034 / 3 / 46. The same three fail on both:indirect::tests::host_list_budget_starts_empty_at_each_submission,indirect::tests::warp_batch_charges_every_execution, andpolicy::tests::repository_passes_policy(it rejectsPLAY_FRAMEGEN.bat).--workspace --all-targets -- -D warnings, with and without--all-features,--keep-going): fails onc437b059alone and with these changes, with the same findings (31 and 30 distinct, none in the changed code); the first isvictory-formats/src/texture.rs:1346.Not tested: AMD and Intel cards, DLSS and frame generation, Series X beyond one 9-minute run.
AI-assisted: ported, checked and written up with Claude Code; the game runs were played by me.
🤖 Generated with Claude Code