util/primconvert: pass index bias through
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 4 Dec 2014 05:36:00 +0000 (00:36 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 5 Dec 2014 12:23:48 +0000 (07:23 -0500)
commit1dfa0391689d71a379cc47a7f39b5f8b0318f891
tree0e67b5117b4106fdd51e50d9db59718161b24560
parentae45a5a28d8c8a48e7353e37da2ce28a6f2bdef4
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>
src/gallium/auxiliary/indices/u_primconvert.c