[Mesa-stable] [PATCH 1/3] util/primconvert: pass index bias through
Ilia Mirkin
imirkin at alum.mit.edu
Thu Dec 4 16:01:12 PST 2014
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 <imirkin at alum.mit.edu>
Cc: "10.3 10.4" <mesa-stable at lists.freedesktop.org>
---
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 0b029c9..95a2478 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.0.4
More information about the mesa-stable
mailing list