[965] Remove dead brw_vertex_element members.
authorEric Anholt <eric@anholt.net>
Tue, 22 Jan 2008 19:35:04 +0000 (11:35 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Feb 2008 02:24:16 +0000 (18:24 -0800)
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c

index 7a2073d7c169ce69e71cbb4d6f346ab1fe7cc8cd..4b3fdb47fcaaa1294bcde16bc38929889ae2efe6 100644 (file)
@@ -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;
 };
 
 
index bdb9b5e89466e8cf6261a2767c003460ea19d20e..c9e1a6e7bd7c61bdd4725d958e3e765f2be3c53b 100644 (file)
@@ -423,7 +423,6 @@ GLboolean brw_upload_vertices( struct brw_context *brw,
       tmp &= ~(1<<i);
       enabled[nr_enabled++] = input;
 
-      input->index = i;
       input->element_size = get_size(input->glarray->Type) * input->glarray->Size;
       input->count = input->glarray->StrideB ? max_index + 1 - min_index : 1;