diff options
| author | KanameS <nk23a4@gmail.com> | 2026-11-22 14:25:43 +0700 |
|---|---|---|
| committer | KanameS <nk23a4@gmail.com> | 2026-11-22 14:25:43 +0700 |
| commit | 2e00d9168879e440bb20d5c234c968b1fcd346f7 (patch) | |
| tree | bbb854adfc3f70037ea2cd1a51d901e73841a3fd /runtime/test/gameinput_test.cpp | |
| parent | c63773d51235d72250d48699f29830ac9ddafd60 (diff) | |
tex_export: score BC4_SNORM and B8G8R8A8 on raw elements when Pillow cannot decode them
score_image() decodes a candidate top mip with Pillow for the formats in
PILLOW_OK. Pillow 13.0.0 raises NotImplementedError for DXGI 81 and 87 (91
is decoded as 87), export_one turned that into a score of 9e9 for both
placements, and the tie kept "first": a chain stored smallest-first was
exported from the wrong mip. score_image now falls back to the raw-element
score it already uses for formats outside PILLOW_OK.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions