mesa/vbo: Fix handling of attribute 0 in non-compatibilty contexts
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Aug 2013 18:15:41 +0000 (11:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Aug 2013 21:59:37 +0000 (14:59 -0700)
commit41eef83cc030e7087b79b0070d00fbc56538fb81
treeb4c2450851901005bedee886bc1c2d34e4fb49ac
parent7115bc3940c4c1952d503d9d56ebe6fd1fb11645
mesa/vbo: Fix handling of attribute 0 in non-compatibilty contexts

It is only in OpenGL compatibility-style contexts where generic
attribute 0 and GL_VERTEX_ARRAY have a bizzare, aliasing relationship.
Moreover, it is only in OpenGL compatibility-style contexts and OpenGL
ES 1.x where one of these attributes provokes the vertex.  In all other
APIs each implicit call to glArrayElement provokes a vertex regardless
of which attributes are enabled.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Robert Bragg <robert@sixbynine.org>
Cc: "9.0 9.1 9.2" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55503
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66292
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67548
src/mesa/vbo/vbo_exec_array.c