From: Ilia Mirkin Date: Sun, 30 Nov 2014 06:20:01 +0000 (-0500) Subject: util/primconvert: support instanced rendering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb434e675f4d9e6685eefd11135ff8630b25ed6b;p=mesa.git util/primconvert: support instanced rendering 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 95a24785c11..539ca538cc1 100644 --- a/src/gallium/auxiliary/indices/u_primconvert.c +++ b/src/gallium/auxiliary/indices/u_primconvert.c @@ -125,6 +125,8 @@ util_primconvert_draw_vbo(struct primconvert_context *pc, new_info.min_index = info->min_index; new_info.max_index = info->max_index; new_info.index_bias = info->index_bias; + new_info.start_instance = info->start_instance; + new_info.instance_count = info->instance_count; if (info->indexed) { u_index_translator(pc->primtypes_mask,