GPU-Textures-as-Universal-Latents

This content was automatically converted from the project's wiki Markdown to HTML. See the Basis Universal GitHub wiki for the latest content.

Overview

Basis Universal formats can be best understood as a family of universal texture latents. Latents in this context are explicitly engineered representations, not learned or neural.

Rather than treating GPU texture formats (ASTC, BCn, ETC, PVRTC, etc.) as canonical assets, Basis Universal defines a set of compact, structured latent representations that are:

In this model, GPU textures are derived (compiled) data, not primary assets. GPU block formats were always latent models. We just treated them as opaque compression schemes, until now.


What Is a Latent?

A latent variable is a compact, unobserved representation from which observed data can be derived — a concept originating in statistical factor analysis over a century ago. Basis Universal applies this idea directly: GPU texture blocks are treated as observed data, while the universal formats define structured latents from which those blocks are synthesized.

  latent  →  GPU texture blocks  →  decoded texels

A latent is a coordinate system for texture information that:

Unlike traditional intermediates, Basis Universal latents are:

The Basis Universal latents are structured, entropy-coded intermediate representations for standardized GPU generative decoders. The decoders are globally standardized engineered generative models in silicon, and Basis Universal is now wrapping an IR around it.


Basis Universal Image/Texture Pipeline

Source Image
    ↓
[Encode to Universal Latent]
    ↓ (Analysis-by-Synthesis encoder, hyper-adaptive to image/texture content via block-local PCA)
ETC1S / UASTC / XUASTC / UASTC HDR
    ↓ (stored/transmitted)
[Transcode to GPU Format, Potentially with Deblocking for non-ASTC]
    ↓ (direct latent to latent, or analytically encoded with no search)
ASTC / BC7 / BC6H / ETC1 / etc.
    ↓
GPU Hardware: Standardized Generative Decoders Already in Billions of Devices
    ↓
Pixels (Potentially Deblocked Using a Pixel Shader for ASTC)

Key Insight

GPU formats are execution formats.
Universal latents are distribution formats.

The latent is closer to the reconstruction model than to pixels.
Transform coding the latent is more efficient than coding pixels directly.

This decouples:


The Basis Universal Latent Family

Each Basis Universal format defines a latent optimized for a specific region of the design space (bitrate, quality, HDR/LDR, block size, transcoding throughput/complexity, specification complexity, transcoder WASM code size).

ETC1S

Very low-rate, simple latent

UASTC LDR 4x4

High-quality, low-distortion latent for textures

XUASTC LDR 4x4-12x12

Hyper-adaptive and scalable transform-domain latent

UASTC HDR 4×4

Strict HDR latent

UASTC HDR 6×6i (Intermediate)

Photographic HDR latent


The Key Property: Projection Speed

Traditional pipelines operate as:

  compressed → full pixels → recompress

Basis Universal latents operate as:

  latent → direct block synthesis

  or

  latent → transcoded latent → direct block synthesis

This means:

For this reason, “transcode” is the correct term — GPU formats are produced by projection, not by decoding and re-encoding pixels.


Why This Is Different From Classic Intermediates

Historically, intermediate formats were:

Basis Universal latents are:

They live between pixels and GPU formats, not close to either extreme.
As a result, the same latent can efficiently serve:


Consistency Across LDR and HDR

Once the system is viewed as latent design rather than encoder design:

HDR support was not added by extending a codec — it was added by introducing another latent into the same architectural framework.


The Core Implication

Basis Universal decouples asset distribution from GPU format choice.

This enables pipelines where textures are:

This is the foundation for scalable pipelines operating at terabyte or petabyte scale, where GPU texture formats are treated as cached, derived artifacts.


Summary

Basis Universal defines a set of universal texture latents, each optimized for a specific Pareto-optimal point in the design space.

These latents: