[Mesa-dev] [Bug 28585] glVertexAttrib doesn't seem to work on the GLES 2 driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 7 04:34:09 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28585

Neil Roberts <neil at linux.intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from Neil Roberts <neil at linux.intel.com> 2010-12-07 04:34:09 PST ---
I just noticed that calling glVertexAttrib with attrib location zero doesn't
work. I think on big GL there is no generic value for location zero and
glVertexAttrib with 0 should only be called between glBegin and glEnd. As far
as I can tell this restriction doesn't apply for GLES2 so it should work. This
is a pain for Cogl because I want to be able to let the driver determine the
attribute locations for itself and then later query them with
glGetAttribLocation. We sometimes need to set the color attribute using the
generic value but if the compiler happens to place the color in attribute 0
then it won't work.

-- 
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