[Mesa-dev] [PATCH v3 2/2] etnaviv: Add support for ETC2 texture compression

2017-07-18 Thread laanwj
From: "Wladimir J. van der Laan" Add support for ETC2 compressed textures in the etnaviv driver. One step closer towards GL ES 3 support. For now, treat SRGB and RGB formats the same. It looks like these are distinguished using a different bit in sampler state, and not part

[Mesa-dev] [PATCH v3 1/2] gallium/util: Implement util_format_is_etc

2017-07-18 Thread laanwj
From: "Wladimir J. van der Laan" This is the equivalent of util_format_is_s3tc, but for ETC. Signed-off-by: Wladimir J. van der Laan --- src/gallium/auxiliary/util/u_format.h | 13 + 1 file changed, 13 insertions(+) diff --git

[Mesa-dev] [PATCH v3 0/2] etnaviv: Add support for ETC2 texture compression

2017-07-18 Thread laanwj
From: "Wladimir J. van der Laan" Add support for ETC2 compressed textures in the etnaviv driver. One step closer towards GL ES 3 support. For now, treat SRGB and RGB formats the same. It looks like these are distinguished using a different bit in sampler state, and not part