mesa: don't enable online compression for ASTC formats
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 18 May 2015 23:30:30 +0000 (16:30 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 26 Aug 2015 21:36:42 +0000 (14:36 -0700)
commit582ce1ea976a16aa8f32ff72cb2fecb00186e253
tree5158e4db6c87aea54999d5a56281cc80a86d20e6
parente9fd8e154fdb0394cbaed5e14ac52e689a020ebe
mesa: don't enable online compression for ASTC formats

In agreement with the ASTC spec, this makes calls to TexImage*D unsuccessful.
Implied by the spec, Generate[Texture]Mipmap and [Copy]Tex[Sub]Image*D calls
must be unsuccessful as well.

v2. actually force attempts to compress online to fail.
v3. indentation (Matt).
v4. update copytexture_error_check to account for CopyTexImage*D (Chad).

Reviewed-by: Chad Versace <chad.versace@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/genmipmap.c
src/mesa/main/glformats.c
src/mesa/main/glformats.h
src/mesa/main/texcompress.c
src/mesa/main/teximage.c