BCPack: BC7 presets with alpha, BC6H refit with the no-wrap rule #103
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/holdmysocks--SixNG!103
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/103/head"
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?
@holdmysocks on GitHub · 2026-11-24 02:32 UTC · original
holdmysocks:claude/bcpack-tables-2→master· +206 −206 · 2 files · 2 commits · merged 2026-11-24 02:39 UTCTables only; no decoder code changes. These commits were pushed to the branch of #58 after it had been merged, so they are not on master yet.
BC7. Index presets made consistent with the anchor rule, all presets refitted under the secondary-index reset rule of #58, and alpha added to the fit (it scored only red, green and blue before, so alpha presets were never fitted).
Whole-install mip check (mip 0 downsampled against mip 1), 1,433 BC7 textures:
BC6H. In a transformed mode an endpoint is w plus a signed delta and never wraps: no wrap in 1,606,398 endpoints on chains that do not touch the preset tables. The tables on master break this in 23,162 of 30,227,202 table-dependent endpoints. The fit now penalises wraps; 599 remain.
Plain BC6H scores 29.1 dB on the same mip check, so BC6H is still not exact.
Tests:
cargo test --release -p sixng-core bcpasses (18 tests).