mesa/varray: set double arrays to non-normalised.

Doesn't have any effect in practice I don't think, but
CTS reads back using GetVertexAttrib.

This fixes: GL41-CTS.vertex_attrib_64bit.get_vertex_attrib

Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 21abaad8fe)
This commit is contained in:
Dave Airlie 2015-12-10 10:36:42 +10:00 committed by Emil Velikov
parent 47fa06c839
commit c054b2dd33

View file

@ -766,7 +766,7 @@ _mesa_VertexAttribLPointer(GLuint index, GLint size, GLenum type,
update_array(ctx, "glVertexAttribLPointer", VERT_ATTRIB_GENERIC(index),
legalTypes, 1, 4,
size, type, stride, GL_TRUE, GL_FALSE, GL_TRUE, ptr);
size, type, stride, GL_FALSE, GL_FALSE, GL_TRUE, ptr);
}