mesa: Rearrange array type checking, filter more types in ES
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Jul 2012 21:40:18 +0000 (14:40 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 25 Aug 2012 02:13:17 +0000 (19:13 -0700)
commitbbceed268e14593a07a7cc08060ffd20f2718718
treef98452188b2f5539195098bda35188cffc3423d2
parenta33f360e8f8138c5b37b5e33324283e764d0750c
mesa: Rearrange array type checking, filter more types in ES

v2: Fix handling of GL_INT and GL_UNSIGNED_INT types pre-ES3.0, and fix
handling of GL_INT_2_10_10_10_REV and GL_UNSIGNED_INT_2_10_10_10_REV in
ES3.0.  Based on review comments by Ken Graunke.

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