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@lists.freedesktop.org
          Reporter: kennethmorrismar...@gmail.com
        QA Contact: mesa-dev@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to