http://bugs.freedesktop.org/show_bug.cgi?id=11774

           Summary: Vertex attributes not assigned locations at link?
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hi,

for my app I called glBindAttribLocation() to bind the position to location
zero, but wanted to let the link step assign other vertex attributes and query
them after with glGetAttribLocation().

The 3Dlabs man page seems to say this is valid (just above the Errors section)
here:

http://developer.3dlabs.com/documents/GLmanpages/glBindAttribLocation.htm

When I run under ATI drivers, any unassigned attribute locations get
sequentially numbered locations assigned to them after linking. Under Mesa they
all get allocated position one, which means I end up loading TexCoords,
Normals, Colours all over the same slot :-)

Is this a bug?

Thanks, Pete


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to