From: <bug...@fr...> - 2007-07-30 17:48:36
|
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: mes...@li... ReportedBy: pet...@ar... 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. |