vc4: Drop redundant index size setting.

This is already done at set_index_buffer() time.
This commit is contained in:
Eric Anholt 2014-12-11 20:34:57 -08:00
parent d78eb57528
commit 5b3c0d999c
1 changed files with 0 additions and 1 deletions

View File

@ -218,7 +218,6 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
if (rsc->shadow_parent) {
vc4_update_shadow_index_buffer(pctx, &vc4->indexbuf);
offset = 0;
index_size = 2;
}
cl_start_reloc(&vc4->bcl, 1);