diff options
author | Zack Rusin <[email protected]> | 2007-11-07 08:59:35 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-12-11 09:49:33 -0500 |
commit | 9d6e6e86d9592afbdbaa83fc89891e6813fc3f2f (patch) | |
tree | 12c94b932ac4da0e0a7d473ac9f1b2eb407bc21c /src/mesa | |
parent | 1f30efb7365075de0ae119a40ab70a16bc547670 (diff) |
number of outputs is nr_attribs - 2
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex_shader_llvm.c | 2 |
1 files changed, 1 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 29de437595c..10fd33fbdee 100644 --- a/src/mesa/pipe/draw/draw_vertex_shader_llvm.c +++ b/src/mesa/pipe/draw/draw_vertex_shader_llvm.c @@ -133,7 +133,7 @@ void draw_vertex_shader_queue_flush_llvm(struct draw_context *draw) gallivm_prog_exec(prog, inputs, outputs, consts, draw->vs.queue_nr, draw->vertex_shader->state->num_inputs, - draw->vertex_info.num_attribs); + draw->vertex_info.num_attribs - 2); /* store machine results */ for (int i = 0; i < draw->vs.queue_nr; ++i) { |