Skip to content

ASTC decoding part 5: Decode ASTC compressed KTX1 textures#50

Draft
Erik-White wants to merge 15 commits into
SixLabors:mainfrom
Erik-White:astc-decoding-ktx1
Draft

ASTC decoding part 5: Decode ASTC compressed KTX1 textures#50
Erik-White wants to merge 15 commits into
SixLabors:mainfrom
Erik-White:astc-decoding-ktx1

Conversation

@Erik-White
Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

The third part of ASTC (Adaptive scalable texture compression) decoding. ASTC is used with KTX containers to compress texture data.
This adds the full decoding and routing path for ASTC compressed KTX v1 textures. Includes the required pixel types and handling for various ASTC block sizes.

Prerequisites

To follow

  • KTX2 support

Test data

Everything used is either created by myself, or sourced from
https://github.com/KhronosGroup/KTX-Software (Apache 2.0 license)
https://github.com/KhronosGroup/KTX-Software-CTS (Apache 2.0 license)
https://github.com/ARM-software/astc-encoder (Apache-2.0 license)

@Erik-White Erik-White force-pushed the astc-decoding-ktx1 branch from dcf0f9a to 1ba622f Compare May 18, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant