diff options
| author | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-22 04:26:38 -0300 |
|---|---|---|
| committer | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-22 08:29:39 -0300 |
| commit | 41c57974ba86ba80c08bb8e3b213a0be94884b13 (patch) | |
| tree | 7fc4f691efddbc23067ac52095ca6f92ab984cf1 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | bb2e18421dac527374eb837c88b5063c5d96f81f (diff) | |
tex_mode_probe: read the whole GPU blob chain, and count skipped textures
The probe opened only the first carved file of a texture's GPU blob (`t["gpu"]`) and ignored
`gpu_chain`, which tex_export.py joins. A texture whose data runs into a later part fit no
candidate and was dropped from the ranking without a line. gpu_blob() now reads every part in
order, as tex_export does; a texture that still fits no candidate prints a "skipped" line, and the
run ends with "probed N of M textures; K skipped".
Real data (counts only), my 1.0.2.1 texture index, all textures of 256 px or more:
- BC1: main ranks 33 of 42 (23 of the 42 have a multi-part chain); this change ranks 42 of 42.
The 9 added winners are 4K_S last x6, 4K_S first x2, 4K_S3 first x1.
- BC3: main 65 of 66, now 66 of 66.
Every row main printed is unchanged (33/33, 65/65).
Tests: test_probe_reports_available_candidates gains blobs split over 2 and 3 carved files
(main: no candidate, the texture vanishes); the expected output of the existing cases now ends
with the probed/skipped total.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions