BC6H BCPack: refit the preset slots that only BCPack-only textures use #41

Manually merged
github merged 2 commits from gh-pr/41/head into gh-pr/41/base 2026-11-26 20:05:10 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-23 05:50 UTC · original
holdmysocks:claude/bc6-bootstrap-refit → master · +115 −115 · 1 files · 2 commits · merged 2026-11-23 12:17 UTC

Refits the BC6H preset slots that have no plain reference. Only bc6pack_tables.rs changes.

Method. Index-aware fit of 111 endpoint and 29 index slots against decoded neighbour mips in both directions, repeated for five decode-and-fit rounds until the independent check stopped moving. Slots that have a plain reference are kept as they are.

Result.

  • Reference set: unchanged, 87.7 % of blocks within 0.15 stops, 28.1 dB.
  • Textures stored only in BCPack: 61.1 -> 71.4 % of blocks good against the larger neighbour.
  • Mip 0 against mip 1 on 89 textures: median 18.0 -> 19.6 dB; under 20 dB 58.4 -> 51.7 %.
  • The 18 library tests pass.

BC6H stays the weakest codec.

**@⁠holdmysocks** on GitHub · 2026-11-23 05:50 UTC · [original](https://github.com/holdmysocks/SixNG/pull/41) `holdmysocks:claude/bc6-bootstrap-refit` → `master` · +115 −115 · 1 files · 2 commits · merged 2026-11-23 12:17 UTC Refits the BC6H preset slots that have no plain reference. Only `bc6pack_tables.rs` changes. **Method.** Index-aware fit of 111 endpoint and 29 index slots against decoded neighbour mips in both directions, repeated for five decode-and-fit rounds until the independent check stopped moving. Slots that have a plain reference are kept as they are. **Result.** - Reference set: unchanged, 87.7 % of blocks within 0.15 stops, 28.1 dB. - Textures stored only in BCPack: 61.1 -> 71.4 % of blocks good against the larger neighbour. - Mip 0 against mip 1 on 89 textures: median 18.0 -> 19.6 dB; under 20 dB 58.4 -> 51.7 %. - The 18 library tests pass. BC6H stays the weakest codec.
Index-aware refit of the 111 endpoint and 29 index slots that have no plain
reference, against decoded neighbour mips in both directions. Slots with a
plain reference are kept. Reference set unchanged (87.7 % of blocks within
0.15 stops, 28.1 dB). BCPack-only set: 61.1 -> 65.0 % against the larger
neighbour, 63.4 -> 66.8 % against the smaller. Mip 0 against mip 1 on 89
textures: median 18.0 -> 18.6 dB, 9 gain more than 1 dB, none lose that much.
Repeats the decode-and-fit alternation until the independent check stops
moving. Reference set unchanged (87.7 %, 28.1 dB). BCPack-only set: 65.0 ->
71.4 % against the larger neighbour. Mip 0 against mip 1 on 89 textures:
median 18.6 -> 19.6 dB, under 20 dB 55.1 -> 51.7 %.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:05:08 +00:00
github manually merged commit 05511fa6ab into gh-pr/41/base 2026-11-26 20:05:10 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.