summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-01-22 11:35:04 -0800
committerEric Anholt <[email protected]>2008-02-04 18:24:16 -0800
commitc86ec87830dba86b257ccddc832b746af955eb05 (patch)
tree7089b93fe2e0d521e52a21653b852cffb1b2ac44 /src
parent4e13067d0f95b280da3fef2deb7e59466ea73818 (diff)
[965] Remove dead brw_vertex_element members.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h4
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw_upload.c1
2 files changed, 0 insertions, 5 deletions
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<<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;