From: Dave Airlie Date: Thu, 10 Dec 2015 00:36:42 +0000 (+1000) Subject: mesa/varray: set double arrays to non-normalised. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21abaad8fe7b5bf78737b9cf009548f41e4777b9;p=mesa.git 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" Reviewed-by: Ian Romanick Signed-off-by: Dave Airlie --- diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 58f376b8af3..c71e16a1e56 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -776,7 +776,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); }