http://bugs.freedesktop.org/show_bug.cgi?id=11016
Summary: glGetVertexAttribivARB(0,
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB, ...) generates
GL_INVALID_ENUM with indirect rendering
Product: Mesa
Version: 6.5
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: GLX
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The summary describes the error; I get the same error with other attribute
numbers and also GL_VERTEX_ATTRIB_ARRAY_NORMALIZED.
Tracing some code, it appears that indirect_table.c in xorg-server (generated
by glX_server_table.py, according to the comment) may be the culprit. It maps
GLX opcode 1303 to glGetVertexAttribivNV. The NV and ARB variants use the same
GLX opcode, but the NV variant does not support the _ENABLED or _NORMALIZED
queries.
I've written a trivial program to illustrate the bug. I'll attach it as soon as
I've had an opportunity to restart X in order to test it.
--
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev