From 1dfa0391689d71a379cc47a7f39b5f8b0318f891 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Thu, 4 Dec 2014 00:36:00 -0500 Subject: [PATCH] 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 --- src/gallium/auxiliary/indices/u_primconvert.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2