Skip to content

ASTC: WEBGL_compressed_texture_astc has getSupportedProfiles() - #7

Merged
monteslu merged 1 commit into
mainfrom
astc-profiles
Nov 11, 2026
Merged

monteslu merged 1 commit into
mainfrom
astc-profiles

Conversation

@monteslu

Copy link
Copy Markdown
Owner

fixes #5

…'], plus 'hdr' when the driver has GL_KHR_texture_compression_astc_hdr), as the WebGL spec defines; three's KTX2Loader.detectSupport() calls it and threw on any driver that reports ASTC

The compressed-texture test now calls KTX2Loader.detectSupport() (the call apps make at startup) on three r186 and r187, and fails without this change with the reporter's error. three is a devDependency at ^0.187.0. The driver's extension list is read once (_nativeExtensions) and shared by getSupportedExtensions and getExtension.
@monteslu
monteslu merged commit 9ca6f89 into main Nov 11, 2026
2 checks passed
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.

Compressed texture support

1 participant