i965: reuse _mesa_sizeof_type for index buffer types.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jan 2013 01:39:36 +0000 (17:39 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 25 Jan 2013 17:40:49 +0000 (09:40 -0800)
commit8fe43b6dc96c36bc45332c67d8f84849b5060800
treeda13ddba1ebaff07e1b91ccc1a1e116b3983b17f
parentb859a12f217042544450083d36b55f8391ca2909
i965: reuse _mesa_sizeof_type for index buffer types.

The core Mesa code has just one more case than this (GL_BITMAP), so I
don't see any cause to special-case it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw_upload.c