On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu <yuanhan....@linux.intel.com> wrote: > For the case that index data is stored in element array buffer object, > and user called glMultiDrawElements, count the min/max_index before > calling vbo->draw_prims. vbo_get_minmax_index() isn't friendly to this > case. So do it while building the prim info. > > Signed-off-by: Yuanhan Liu <yuanhan....@linux.intel.com>
I'm really failing to understand what this commit is for. Does it fix some testcase? Is it improving performance somewhere? It appears to be "unconditionally compute a total min/max index for a multiple-primitive draw call", but I don't understand why we would unconditionally need that.
pgpy1SGDhHc9q.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev