Skip to content

v3d: Enable S3TC/DXT formats to enable S3TC/DXT extensions

This series includes two patches:

  1. A fix of a wrong swizzle in the format table of DXT3_RGBA and DXT5_RGBA that was missing the last component. (Fixes 15 piglit tests)

  2. Enabling the DXT sRGB formats and also DXT1_RGBA that is needed to enable the following extensions in V3D:

    • GL_ANGLE_texture_compression_dxt3
    • GL_ANGLE_texture_compression_dxt5,
    • GL_EXT_texture_compression_dxt1
    • GL_EXT_texture_compression_s3tc
    • GL_S3_s3tc
    • GL_EXT_texture_compression_s3tc_srgb

The Fix is nominated to stable as it fixes several failing tests, but I have doubts if it would makes sense to sent to next stable the enablement of the extensions (In that case I think it would make sens to squash both commits)

Edited by José María Casanova Crespo

Merge request reports