Repository navigation
Decode tiled ASTC 4x4 in AAPL snapshots - #353
Merged
Merged
Conversation
iOS 26 and 27 snapshots (and other AAPL textures from iOS 16 on) hold their ASTC 4x4 blocks in 32x32-block Morton tiles on a padded surface plus one block, so GLEAPP showed them scrambled. Tiled data is now put back in raster order, with the x and y bits swapped for an @2x snapshot name, read from the evidence path the pipeline and the viewer pass down. Only the linear and tiled lengths are accepted, so a cut-short texture is refused instead of decoded. Ported from iLEAPP's KTX_reader. Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni
commented
Nov 26, 2026
abrignoni
left a comment
Owner
Author
There was a problem hiding this comment.
Automated GLEAPP review.
A case reopened after this change kept serving the scrambled preview the old decoder had cached under views/. Texture previews now use a versioned name, in the viewer and in the report. Word 12 is read only from inside a HEAD long enough to hold it, and a texture flagged as tiled is no longer accepted at the linear length. Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni
commented
Nov 26, 2026
abrignoni
left a comment
Owner
Author
There was a problem hiding this comment.
Automated GLEAPP review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tiled iOS snapshots no longer show up scrambled in GLEAPP.
🤖 Generated with Claude Code