Anuj Phogat <anuj.pho...@gmail.com> writes: > This patch enables support for ETC2 compressed textures on > all intel hardware. At present, ETC2 texture decoding is not > available on intel hardware. So, compressed ETC2 texture data > is decoded in software and stored in a suitable uncompressed > MESA_FORMAT at the time of glCompressedTexImage2D. Currently, > ETC2 formats are only exposed in OpenGL ES 3.0. > > V2: Use single etc_wraps variable for both etc1 and etc2. > V3: Remove redundant code and use just one intel_miptree_map_etc() > and intel_miptree_unmap_etc() function. > Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
Given that we support x/y offsets anyway, the asserts for map->x/y == 0 and the justification for it could be dropped. But either way. Reviewed-by: Eric Anholt <e...@anholt.net>
pgpIMn9WRMMV6.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev