upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-26 01:40:27 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-26 09:07:52 -0500
commit2a491668a5afcb8bd1d9208d3b9ad0178df72e28 (patch)
treec4a36eacecb54581e3a2882920d4062953e063a6 /runtime/src/pe_loader.cpp
parentdc9ef1a0b790b35aa5ac938382e11e1a2bfc46e7 (diff)
dstorage history: fit packed tails against decoded BCPack siblings
The predictor profile fits a history field only from a stream with a raw or zlib sibling mip. A BC7 texture whose mip 1 and packed tail share one BCPack stream has none for the tail, so history fields that only such tails use stayed unknown and the runtime refused the stream with missing-endpoint (E_DSTORAGE_DECOMPRESSION_ERROR) on every game run. fit_decoded_neighbors decodes the nearest BCPack sibling with the profile so far, also inside a stream the decoder refuses (blocks whose chains start at an unknown field are left out of the reference), and fits the streams that still reference missing fields. Only empty fields are filled, never as confirmed. On the local package the BC7 endpoint fields go from 4228 to 4406 of 6144 and the runtime decoder refuses 8 of 5167 BC7 streams instead of 60; both request shapes that failed in game runs decode. BC6H is unchanged (10 of 268). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions