ASTC compressed texture uploads fail with GL_INVALID_ENUM
My apologies if this is not the proper place to report this, I'm new here.
Raspberry Pi 2B (OpenGL ES2) lists GL_KHR_texture_compression_astc_ldr as supported, but when uploading a texture, GL_INVALID_ENUM is raised, and the texture remains invalid (black).
glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA_ASTC_4x4_KHR, width, height, 0, size, data);
Compressed texture data was produced by ARM astcenc tool, which decompresses properly, so I assume the data is uncorrupted.
Hardware is Raspberry Pi 2B (BCM2836, VideoCore IV) running updated Rasbian:
Vendor: Broadcom Renderer: VC4 V3D 2.1 Version: 2.1 Mesa 19.2.0-rc1 GLSL Version: 1.20
Is ASTC really supported by this hardware? Or does Mesa decompress the data and upload as uncompressed?
On a slightly related note, is Mesa ETC1 support likely to happen on this platform? It was supported on older Pi GLES2 drivers years ago (although I never tested it).