From: Ilia Mirkin Date: Thu, 4 Dec 2014 05:36:00 +0000 (-0500) Subject: util/primconvert: pass index bias through X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1dfa0391689d71a379cc47a7f39b5f8b0318f891;p=mesa.git util/primconvert: pass index bias through The index_bias (aka base_vertex) applies to the downstream draw just as much, since the actual index values are never modified. Signed-off-by: Ilia Mirkin Cc: "10.3 10.4" Reviewed-by: Brian Paul Reviewed-by: Rob Clark --- diff --git a/src/gallium/auxiliary/indices/u_primconvert.c b/src/gallium/auxiliary/indices/u_primconvert.c index 0b029c97f2c..95a24785c11 100644 --- a/src/gallium/auxiliary/indices/u_primconvert.c +++ b/src/gallium/auxiliary/indices/u_primconvert.c @@ -124,6 +124,7 @@ util_primconvert_draw_vbo(struct primconvert_context *pc, new_info.indexed = true; new_info.min_index = info->min_index; new_info.max_index = info->max_index; + new_info.index_bias = info->index_bias; if (info->indexed) { u_index_translator(pc->primtypes_mask,