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 <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>
This commit is contained in:
parent
ae45a5a28d
commit
1dfa039168
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue