From c86ec87830dba86b257ccddc832b746af955eb05 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 22 Jan 2008 11:35:04 -0800 Subject: [965] Remove dead brw_vertex_element members. --- src/mesa/drivers/dri/i965/brw_context.h | 4 ---- src/mesa/drivers/dri/i965/brw_draw_upload.c | 1 - 2 files changed, 5 deletions(-) (limited to 'src/mesa') 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; -- cgit v1.2.3