projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dfa039
)
util/primconvert: support instanced rendering
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 30 Nov 2014 06:20:01 +0000
(
01:20
-0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 5 Dec 2014 12:23:48 +0000
(07:23 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/indices/u_primconvert.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/indices/u_primconvert.c
b/src/gallium/auxiliary/indices/u_primconvert.c
index 95a24785c11c9149ced5f50e01e2f92db6d6235f..539ca538cc13d33e336190c8a7691518060677ea 100644
(file)
--- 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,