summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-11-30 01:20:01 -0500
committerIlia Mirkin <[email protected]>2014-12-05 07:23:48 -0500
commitfb434e675f4d9e6685eefd11135ff8630b25ed6b (patch)
treead02d3f8240774f32f58d72946ec24a1ca11286a /src
parent1dfa0391689d71a379cc47a7f39b5f8b0318f891 (diff)
util/primconvert: support instanced rendering
Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.3 10.4" <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/indices/u_primconvert.c2
1 files changed, 2 insertions, 0 deletions
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,