Skip to content

Add tracking for ASTC hdr profile #6780

Open
@mixtur

Description

@mixtur

ASTC is a hardware compression format for textures in WebGPU and WebGL.

The problem is that it is implemented in hardware which is kinda orhtogonal to the browser version. Not sure if it can be added at all.

But anyway to track it you'll need to create webgl2 context, request an extension called WEBGL_compressed_texture_astc, and then call getSupportedProfiles() on the extension. It will return an array with one or two strings. One of which will probably be "ldr", and another "hdr". So if hdr is present - it means that hdr profile is supported.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions