mesa: don't try (generic) compression of 1D and 1D_ARRAY textures
authorBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 14:38:46 +0000 (08:38 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2012 20:09:03 +0000 (14:09 -0600)
commit13d0bb21a9ba04424019df25d6757e77304a1f9a
tree48382cbeb1418eb7844d613cd691e78cf1e3ad6e
parentd47a6ada9ca9670c60fc141fabadf40c63031c08
mesa: don't try (generic) compression of 1D and 1D_ARRAY textures

See comments in the code for details.

Note: we only need to special-case the generic compressed formats since
specific texture formats are error-checked earlier to see if the compression
format is compatible with the texture type.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/texformat.c