Skip to content

AAPL texture follow-ups: layout flag on every length, stale hashes in older cases #354

Done

Description

@abrignoni

Two follow-ups from the review of #353, neither seen in real data.

  • Layout flag on every length. _aapl_astc44_raster takes HEAD word 12 = 0 for the linear length and 1 for exactly the tiled surface, but accepts the padded-plus-one length whatever word 12 holds, and the linear length for any value other than 1. Every AAPL file measured (10,628 in 24 iOS 15 to 27 images) had word 12 = 0 when linear and 1 when tiled. Possible fix: require 0 for linear and 1 for both tiled lengths.
  • Hashes in cases processed before Decode tiled ASTC 4x4 in AAPL snapshots #353. Perceptual hashes of tiled snapshots were computed from the scrambled decode and stay until the case is re-processed with --force, so similarity matching can miss or invent matches for those rows. Possible fix: record the texture decoder version per row and recompute hashes when it changes.

Activity

  1. added a commit that references this issue on Nov 27, 2026
    e335cc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions