summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-20 16:55:23 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-10-24 11:21:04 -0400
commitd4d8d7c468c8ba45e302e163dd87b4e45426e1da (patch)
treef3ac38c253cff824c156dc1db5955b4f56b4f365 /src/mesa/pipe/draw
parente9a623d6a69718e3a9cc46dbb54cb4e7bd79f09c (diff)
Muchos fixos. gears kinda works. and cases don't crash.
glorious
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader_llvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c
index 2ff35ace24..d658544f30 100644
--- a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c
+++ b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c
@@ -141,7 +141,8 @@ void draw_vertex_shader_queue_flush_llvm(struct draw_context *draw)
/* batch execute the shaders on all the vertices */
ga_llvm_prog_exec(prog, inputs, outputs, consts,
draw->vs.queue_nr,
- draw->vertex_shader->state->num_inputs);
+ draw->vertex_shader->state->num_inputs,
+ draw->vertex_info.num_attribs);
/* FIXME: finish conversion */
/* dests = outputs */