[Mesa-dev] [Bug 81174] Gallium: GL_LINE_LOOP broken with more than 512 points

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 15 09:20:36 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81174

--- Comment #13 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to comment #12)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > Line loops aren't so critical, since they are rarely used. But what about
> > > triangle strips... every split kills 2 triangles...
> > 
> > That shouldn't happen, the code is supposed to copy over the necessary two
> > tris.
> 
> What about primitive winding/facing? If you wrap a triangle strip and start
> on an odd triangle, you'll end up with correct front/back faces. If you
> start on an even triangle, the facing is inverted, isn't it?

This should also be handled correctly I believe. See the comments about "parity
issue" in vbo_copy_vertices(). Essentially the code ensures the new buffer
always starts on an odd triangle. (Though on a quick look I wouldn't be able to
tell if it's all correct but it probably is as otherwise there'd probably have
been bug reports about it.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140715/4b1b6a6e/attachment.html>


More information about the mesa-dev mailing list