summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-13 12:43:09 -0600
committerBrian Paul <brianp@vmware.com>2009-08-13 12:50:57 -0600
commit03ba461c1956a466f1c6cb885d208b7a7ac4b4fe (patch)
tree10882841a24273dc1575c334453b173cf00ab0f4 /src/mesa/shader
parent53dfd5d87074cefb9258fbe4dbc916fd18597116 (diff)
glsl: fix incorrect attribute size
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index c5c94a65a2..1caf5946fd 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 */);
}