diff options
author | Eric Anholt <[email protected]> | 2014-12-11 20:34:57 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-11 23:52:34 -0800 |
commit | 5b3c0d999c38ef51ece422010cdb836fbbaffe0e (patch) | |
tree | f76267f26eb91ff6df0ff2ad96348dadd8472e67 /src/gallium/drivers/vc4 | |
parent | d78eb5752838979057a8a1210d6951c084904c0f (diff) |
vc4: Drop redundant index size setting.
This is already done at set_index_buffer() time.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_draw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c index 2d824624b5f..79d7d73c660 100644 --- a/src/gallium/drivers/vc4/vc4_draw.c +++ b/src/gallium/drivers/vc4/vc4_draw.c @@ -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); |