[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] Why the width, height block-alignment restriction for DXT5 textures?

I’m seeing the following warning

    WebGL warning: compressedTexImage: COMPRESSED_RGBA_S3TC_DXT5_EXT requires that width and height are block-aligned, or, if level>0, equal to 0, 1, or 2.

While it is true the height of the texture I am using is not a multiple of 4, it works fine with native OpenGL, Vulkan and Metal - all on Intel hardware. Why is this limitation in WebGL? Is this caused by a D3D limitation?



Attachment: signature.asc
Description: Message signed with OpenPGP