From 9d6e6e86d9592afbdbaa83fc89891e6813fc3f2f Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Wed, 7 Nov 2007 08:59:35 -0500 Subject: [PATCH] number of outputs is nr_attribs - 2 --- src/mesa/pipe/draw/draw_vertex_shader_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2