From 03ba461c1956a466f1c6cb885d208b7a7ac4b4fe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 13 Aug 2009 12:43:09 -0600 Subject: [PATCH] glsl: fix incorrect attribute size --- src/mesa/shader/slang/slang_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index c5c94a65a24..1caf5946fdc 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -445,7 +445,7 @@ _slang_resolve_attributes(struct gl_shader_program *shProg, if (inputsRead & (1 << i)) { _mesa_add_attribute(linkedProg->Attributes, _slang_vert_attrib_name(i), - 1, /* size */ + 4, /* size in floats */ _slang_vert_attrib_type(i), -1 /* attrib/input */); } -- 2.30.2