From: Brian Paul Date: Thu, 13 Aug 2009 18:43:09 +0000 (-0600) Subject: glsl: fix incorrect attribute size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03ba461c1956a466f1c6cb885d208b7a7ac4b4fe;p=mesa.git glsl: fix incorrect attribute size --- 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 */); }