[Mesa-dev] [Bug 101464] PrimitiveRestartNV inside a render list causes a crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 16 08:50:54 UTC 2017


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

            Bug ID: 101464
           Summary: PrimitiveRestartNV inside a render list causes a crash
           Product: Mesa
           Version: 17.0
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: o.lauffenburger at topsolid.com
        QA Contact: mesa-dev at lists.freedesktop.org

When using glDrawElements with glPrimitiveRestartIndexNV during the compilation
of a render list, there is a crash when Mesa reaches the second restart index
of the array.

The reason is that when PrimitiveRestartNV is called internally the first time,
save_PrimitiveRestartNV() (in \src\mesa\vbo\vbo_save_api.c) is called. It
executes _save_End() and _save_Begin(curPrim), but _save_Begin() is a noop
function that merely raises an OpenGL error "Recursive glBegin".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170616/df19be25/attachment.html>


More information about the mesa-dev mailing list