projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a652f5
)
Similarly, fill in missing input slots in the vertex-array +
author
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 2 Nov 2006 18:02:17 +0000
(18:02 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Thu, 2 Nov 2006 18:02:17 +0000
(18:02 +0000)
NV_vertex_program path.
src/mesa/vbo/vbo_exec_array.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec_array.c
b/src/mesa/vbo/vbo_exec_array.c
index 481c4ee5469043d7f0ee606e54603d0fafabe904..aab5748626699342bfb1bf6825a97033428bb144 100644
(file)
--- a/
src/mesa/vbo/vbo_exec_array.c
+++ b/
src/mesa/vbo/vbo_exec_array.c
@@
-156,6
+156,13
@@
static void recalculate_input_bindings( GLcontext *ctx )
else
inputs[i] = &vbo->legacy_currval[i];
}
+
+ /* Could use just about anything, just to fill in the empty
+ * slots:
+ */
+ for (i = VERT_ATTRIB_GENERIC0; i < VERT_ATTRIB_MAX; i++)
+ inputs[i] = &vbo->generic_currval[i - VERT_ATTRIB_GENERIC0];
+
break;
case VP_ARB:
/* ARB_vertex_program - Only the attribute zero (position) array