Repository navigation
feat: author and validate independently streamable texture levels - #166
Merged
Merged
Conversation
This was referenced Nov 11, 2026
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.
Add DNLT v1 authoring and an immutable header/index-only descriptor as phase 1 of the progressive texture LOD design in capz/hypercube-engine#11. The CLI emits complete or sparse native mip levels, independent low/high pairs, per-level gutter UV transforms and deterministic manifests. Smooth alpha uses RGBA8; explicit CMPR rejects it, while binary-alpha mips retain coverage.
The parser validates metadata CRC, reserved fields, dimensions, native tile sizes, logical mip exponents, coarse-first offsets, file bounds and UV mappings without reading payloads or allocating GPU resources. Each payload has a separately verifiable CRC. Existing DNTX v1/v2 authoring stays unchanged.
Validation: 2,243 authoring/parser checks pass, including independent BTI pixel decoding, fuzz/truncation/corruption cases and DNTX compatibility. Existing GameCube format tests pass (88 assertions), CI selector tests pass, and the sparse-mip, NPOT low/high and legacy DNTX CLI paths were exercised. Native upload/residency work follows in separate phases.