projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53dfd5d
)
glsl: fix incorrect attribute size
author
Brian Paul
<brianp@vmware.com>
Thu, 13 Aug 2009 18:43:09 +0000
(12:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 13 Aug 2009 18:50:57 +0000
(12:50 -0600)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index c5c94a65a24a682cb7152fb04261ca42b7f8ee89..1caf5946fdcba40f7c4b2fd0d5ae5af7b4c2f907 100644
(file)
--- 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 */);
}