[Mesa-dev] [PATCH 2/2] i965: fix the wrong min/max_index for nr_prims > 1
Eric Anholt
eric at anholt.net
Wed Dec 28 12:07:08 PST 2011
On Wed, 28 Dec 2011 13:54:43 +0800, Yuanhan Liu <yuanhan.liu at 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.liu at linux.intel.com>
It does look like gallium has the same bug -- this should probably be a
vbo helper function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111228/7aefb75b/attachment.pgp>
More information about the mesa-dev
mailing list