mesa/src
Anuj Phogat b026b6bbfe mesa: Fix glGetVertexAttribi(GL_VERTEX_ATTRIB_ARRAY_SIZE)
mesa currently returns 4 when GL_VERTEX_ATTRIB_ARRAY_SIZE is queried
for a vertex array initially set up with size=GL_BGRA. This patch
makes changes to return size=GL_BGRA as required by the spec.

Fixes Khronos OpenGL CTS test: vertex_array_bgra_basic.test

V2: Use array->Format instead of adding a new variable

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit fdd8bebc22)
2014-04-21 11:18:54 -07:00
..
egl egl/dri2: use drm macros to construct device name 2014-04-14 12:12:55 -07:00
gallium r600g: Disable LLVM by default at runtime for graphics 2014-04-21 11:18:34 -07:00
gbm build: Share the all-local rule for linking libraries into the build dir 2014-01-29 12:58:13 -08:00
getopt
glsl glsl: Try vectorizing when seeing a repeated assignment to a channel. 2014-04-18 15:19:00 -07:00
glx glx: drop obsolete _XUnlock_Mutex in __glXInitialize error path 2014-04-14 11:48:53 -07:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: don't limit the non-udev path to only android 2014-04-14 11:48:52 -07:00
mapi mapi/u_thread: Use GetCurrentThreadId 2014-04-14 11:48:49 -07:00
mesa mesa: Fix glGetVertexAttribi(GL_VERTEX_ATTRIB_ARRAY_SIZE) 2014-04-21 11:18:54 -07:00
Makefile.am loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00