[Mesa-dev] [Bug 90130] gl_PrimitiveId seems to reset at 340

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 21 15:07:51 PDT 2015


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

            Bug ID: 90130
           Summary: gl_PrimitiveId seems to reset at 340
           Product: Mesa
           Version: 10.5
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: kennethmorrismartin at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Using gl_PrimitiveId with mesa 10.5.3 on Linux (running in a Virtualbox VM on
windows) I am seeing glPrimitiveId increment up to 339 and then it resets back
to zero and starts incrementing again. Yeh, 0-339, that's funky.

This is the source of many of the failures on the following dashboard

https://open.cdash.org/viewTest.php?onlyfailed&buildid=3781713

as the mapping of cells to colors is based on gl_PrimitiveId and it seems to be
restarting after 339. My code (a VTK branch) has a vertex shader and fragment
shader with no geometry shader. I am requesting and getting a 3.2 core context.
The same codebase on Windows using nvidia or intel drivers (non mesa) is
working. Any help appreciated. If there is additional information etc that
would be helpful just let me know and I can try to dig it up.

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


More information about the mesa-dev mailing list