mesa: add integer texture completeness check
authorBrian Paul <brianp@vmware.com>
Sat, 17 Mar 2012 22:30:03 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Mar 2012 14:23:32 +0000 (08:23 -0600)
commit73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37
tree1839105a2ce1d882e774437f78e78f28763fbc0f
parentf4a93e0665881dd58a95abb6525676bd1cc2e6af
mesa: add integer texture completeness check

Per the spec, only nearest filtering is supported for integer textures.
Otherwise, the texture is incomplete.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/mtypes.h
src/mesa/main/texobj.c
src/mesa/main/texobj.h