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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 13 10:27:19 PDT 2010


Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
         AssignedTo|mesa-dev at lists.freedesktop. |idr at freedesktop.org
                   |org                         |

--- Comment #3 from Ian Romanick <idr at freedesktop.org> 2010-08-13 10:27:19 PDT ---
(In reply to comment #1)

> 1. By returning attrib_loc=1 instead of 0 will we have one less user-defined
> vertex attribute available to users with the new compiler?  The query of
> GL_MAX_VERTEX_ATTRIBS_ARB still returns 16.

Attribute 0 is special.  It is bound to gl_Vertex by default.  Applications can
specifically bind to 0 using glBindAttribLocation, but the linker doesn't
automatically bind to it.  It's possible that the spec says we should bind
something to 0 if gl_Vertex isn't used, which is the case in this test.

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