diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-28 16:45:20 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-28 16:45:20 +0100 |
| commit | 0507555a57794c9f38f8a143bef934ee7d3d1266 (patch) | |
| tree | 41e7f7d8723029c43531576eeccd14cb2ee079b1 /runtime/test/code_hooks_test.cpp | |
| parent | a1e04653561ba65cfbfb924b1e601283e461cb0c (diff) | |
make_game assets: check BC6H/BC7 history ranges before strict decoding
load_history() checked the bc6h and bc7 sections through the table loaders,
which check shapes and integers only. A confirmed endpoint depth above the
known one (9 over 8) passed, and strict decoding then published a
provisional reconstruction as a confirmed DDS.
Move the range checks of bcpack_history_calib.py --verify into
check_history_tables() and run them on the parsed history before any pool
is opened. Both now also reject an entry with confirmed bits whose values
the table leaves out: the decoder read zeros there as confirmed values.
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions