On Wed, 28 Dec 2011 13:54:43 +0800, Yuanhan Liu <yuanhan....@linux.intel.com> wrote: > The current code would just calculate min/max_index for the first prim > unconditionally, which is wrong if nr_prims > 1. > > This would some cases like that the index is stored in element array > buffer object and drawing by glMultiDrawEelements. Thus it fixes some > intel oglc primbuff test cases. > > Signed-off-by: Yuanhan Liu <yuanhan....@linux.intel.com>
It does look like gallium has the same bug -- this should probably be a vbo helper function.
pgpGwebQFqKx8.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev