[Mesa-dev] [Bug 85419] [llvmpipe] Assertion fail with triangle strips

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 11 08:20:55 PST 2014


José Fonseca <jfonseca at vmware.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from José Fonseca <jfonseca at vmware.com> ---
The trace crashes on NVIDIA GL driver.

This is because you never call glEnable(PRIMITIVE_RESTART), so the driver
interprets the index 0xffffffff literally, causing a buffer overflow.

I also add to manually edit the trace and remove trailing \\ from one of the
shaders, as NVIDIA GLSL compiler fails otherwise.

AFAICS, you're getting undefined behavior because GL state is not being
properly set.

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/20141111/b71a97ef/attachment-0001.html>

More information about the mesa-dev mailing list