Re: [Mesa-dev] [PATCH] mesa: Use location VERT_ATTRIB_GENERIC0 for vertex attribute 0

2014-04-16 Thread Kenneth Graunke
On 03/31/2014 02:00 PM, Anuj Phogat wrote: > In OpenGL 3.1 attribute 0 becomes non-magic, just like in > OpenGL ES 2.0. Earlier versions of OpenGL used attribute 0 > exclusively for vertex position. > > Fixes 4 Khronos OpenGL CTS failures: > glGetVertexAttrib > depth24_basic > depth24_precision >

[Mesa-dev] [PATCH] mesa: Use location VERT_ATTRIB_GENERIC0 for vertex attribute 0

2014-03-31 Thread Anuj Phogat
In OpenGL 3.1 attribute 0 becomes non-magic, just like in OpenGL ES 2.0. Earlier versions of OpenGL used attribute 0 exclusively for vertex position. Fixes 4 Khronos OpenGL CTS failures: glGetVertexAttrib depth24_basic depth24_precision rgb8_rgba8_rgb Cc: Signed-off-by: Anuj Phogat --- src/mes