diff options
author | Rob Clark <[email protected]> | 2017-05-13 14:43:45 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-05-14 15:10:08 -0400 |
commit | 06a51fb4e5bcec4fa9911b6a20a38deac45d9e21 (patch) | |
tree | d9ef5a21d0300ee584989a374325b2b6599b77bc /src/gallium/drivers/freedreno/a2xx/fd2_draw.c | |
parent | d4e4c36c7c96d3e38b7f3ce6f3aac9956b6c9df8 (diff) |
freedreno: fix indexbuffer upload
My fault for not having time to test Marek's patches while they were on
list.
Fixes: 330d0607 ("gallium: remove pipe_index_buffer and set_index_buffer")
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_draw.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c index 4f316190884..f7915d66c1a 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_draw.c @@ -109,7 +109,7 @@ fd2_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info, OUT_RING(ring, info->min_index); /* VGT_MIN_VTX_INDX */ fd_draw_emit(ctx->batch, ring, ctx->primtypes[info->mode], - IGNORE_VISIBILITY, info); + IGNORE_VISIBILITY, info, index_offset); OUT_PKT3(ring, CP_SET_CONSTANT, 2); OUT_RING(ring, CP_REG(REG_A2XX_UNKNOWN_2010)); |