Skip to content

V2.1.5 BC4/5 improvements - #8

Merged
Geolm merged 16 commits into
mainfrom
v2.0
Nov 14, 2026
Merged

Geolm merged 16 commits into
mainfrom
v2.0

Conversation

@Geolm

@Geolm Geolm commented Nov 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

Geolm added 16 commits November 12, 2026 18:24
… in logs; v1.0.2

the two new images/bc4 maps join the hardcoded suite: Metal002_4K_Roughness (4096x4096,
1.2195:1) and font_atlas (1748x1748, 1.9432:1, the mostly-flat atlas is ideal BC4 content),
lifting the bc4 suite average 1.1352 -> 1.2839 with the 1.05 gate intact. fixing the latent
bug they exposed: run_bc_image_suite took its image count from sizeof(bc4_image_filenames)
for both suites, so the bc5 run desyncs the moment the arrays differ in size; the count now
comes from the actual array per format. logs/bc4_zip.md records the zip -9 baseline on the
raw standard BC4 (deflate entry, same numerator as the stream ratios): bc_packed wins
+7.5% to +16.8% on the real-content maps (+12.1% byte-weighted), while zip wins the mostly-
flat atlas 2.5605 to 1.9432 (scattered duplicate blocks are deflate's 32 KB window's game,
and the bc4 path has no block-level dedup), flipping the simple per-image average to zip's
side by 0.4%. README suite table and validation numbers updated. failed_experiments.md
gains exp 24, the 18/21 model-count trap of stream validation from the scrapped
header-compression session. test-only change, 1.0.1 -> 1.0.2 patch bump. release and asan
builds: 43/43 tests, gpu bit-identical to cpu
…el (flag in flat-index header byte, per-channel pricing); bc4 avg 1.2839 -> 1.3334, v2.0.0 (stream format change)
…t per-tile gate); font atlas 2.2396 -> 2.4040, v2.1.0 (stream format change)
…dict at declaration, remove redundant count resets), v2.1.1
…-Wmaybe-uninitialized false positive on x86-64), size image test path buffer to PATH_MAX + NAME_MAX (-Wformat-truncation); v2.1.2
… (gcc 13 uninit analysis misses loop-body zero-inits in constprop clones), re-clear them per strip, reuse dict in pass 3; v2.1.3
…und the pre-pass and encoder (documented compiler bug in ipa-constprop clones, state is zero-initialized); v2.1.4
…coped state) now that the gcc 13 false positive is suppressed by pragma; v2.1.5
…ream models = 18 color slots, 16 distinct: endpoint-0 green uncontexted, 2 fixed dummy slots)
@Geolm
Geolm merged commit e4d95cd into main Nov 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant