meta: Don't use fixed-function to decompress array textures
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 13 Dec 2013 21:40:48 +0000 (13:40 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Feb 2014 15:49:09 +0000 (16:49 +0100)
commit2bf4db1697a02cd58062e0ebac086fda72f29945
treec61940cfdd4e699c189fb6a48ce89e5af603294d
parenteb65d4b84d4c514bfa9114a56a08513efabbe030
meta: Don't use fixed-function to decompress array textures

Array textures can't be used with fixed-function, so don't.  Instead,
just drop the decompress request on the floor.  This is no worse than
what was done previously because generating the GL error (in
_mesa_set_enable) broke everything anyway.

A later patch will get GL_TEXTURE_2D_ARRAY targets working.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.c