From: Eric Anholt Date: Tue, 22 Jan 2008 19:35:04 +0000 (-0800) Subject: [965] Remove dead brw_vertex_element members. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c86ec87830dba86b257ccddc832b746af955eb05;p=mesa.git [965] Remove dead brw_vertex_element members. --- diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 7a2073d7c16..4b3fdb47fca 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -372,12 +372,8 @@ struct brw_cached_batch_item { struct brw_vertex_element { const struct gl_client_array *glarray; - struct brw_vertex_element_state *vep; - - GLuint index; GLuint element_size; GLuint count; - GLuint vbo_rebase_offset; }; diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index bdb9b5e8946..c9e1a6e7bd7 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c @@ -423,7 +423,6 @@ GLboolean brw_upload_vertices( struct brw_context *brw, tmp &= ~(1<index = i; input->element_size = get_size(input->glarray->Type) * input->glarray->Size; input->count = input->glarray->StrideB ? max_index + 1 - min_index : 1;