diff options
author | Kenneth Graunke <[email protected]> | 2013-04-05 22:58:39 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-04-08 11:03:08 -0700 |
commit | 79c27e7528da47567b0cbd8c6ed442216bf5de24 (patch) | |
tree | 7c028f1b4142ecb610d5ccd344cc837cb04da8cb /src/mesa/drivers/dri/i965/brw_draw.c | |
parent | b29dc25572986ef7fba870cdec8b8d2594a97723 (diff) |
i965: Remove brw->vb.info and struct brw_vertex_info.
Nobody uses this value, so there's no need to set it.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 5705362ba7a..7195ec89179 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -270,16 +270,10 @@ static void brw_merge_inputs( struct brw_context *brw, } brw->vb.nr_buffers = 0; - memset(&brw->vb.info, 0, sizeof(brw->vb.info)); - for (i = 0; i < VERT_ATTRIB_MAX; i++) { brw->vb.inputs[i].buffer = -1; brw->vb.inputs[i].glarray = arrays[i]; brw->vb.inputs[i].attrib = (gl_vert_attrib) i; - - if (arrays[i]->StrideB != 0) - brw->vb.info.sizes[i/16] |= (brw->vb.inputs[i].glarray->Size - 1) << - ((i%16) * 2); } } |