[Mesa-dev] [Bug 29540] New: [glsl2] problem with vertex attribute locations and draw-time validation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 12 15:25:03 PDT 2010


           Summary: [glsl2] problem with vertex attribute locations and
                    draw-time validation
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: brian.e.paul at gmail.com

I'm still digging into this one but I want to file the bug now.

Something's different in the new compiler with respect to the layout/allocation
of generic vertex attributes.  glGetAttribLocation() is returning different
values than before.

The check at api_validate.c:124 is failing with some shaders so drawing becomes
a no-op.  If I disable the array enable checks the rendering appears as it
should.  I'm actually not 100% sure that the check there is correct.  I need to
review the GL specs.

I don't have a small test case for this yet.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list