Re: [Mesa-dev] [PATCH 5/8] i965: reuse _mesa_sizeof_type for index buffer types.

2013-01-24 Thread Kenneth Graunke
On 01/23/2013 11:17 AM, Eric Anholt wrote: The core Mesa code has just one more case than this (GL_BITMAP), so I don't see any cause to special-case it. It also doesn't have the packed format support, but I guess that isn't relevant for index buffers (only vertex data). Might be worth a

[Mesa-dev] [PATCH 5/8] i965: reuse _mesa_sizeof_type for index buffer types.

2013-01-23 Thread Eric Anholt
The core Mesa code has just one more case than this (GL_BITMAP), so I don't see any cause to special-case it. --- src/mesa/drivers/dri/i965/brw_draw_upload.c | 26 ++ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git