From 4eafe69a2ac27e8e92ce0fc503a5d6cc24b8f257 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 24 Oct 2007 12:30:49 -0600 Subject: [PATCH] better debug output --- src/mesa/pipe/draw/draw_vertex_shader.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c index 24cbf20fc75..d8bd5a96d66 100644 --- a/src/mesa/pipe/draw/draw_vertex_shader.c +++ b/src/mesa/pipe/draw/draw_vertex_shader.c @@ -147,7 +147,11 @@ run_vertex_program(struct draw_context *draw, vOut[j]->data[0][3] = w; #if DBG - printf("output[%d]win: %f %f %f %f\n", x, y, z, w); + printf("output[%d]win: %f %f %f %f\n", j, + vOut[j]->data[0][0], + vOut[j]->data[0][1], + vOut[j]->data[0][2], + vOut[j]->data[0][3]); #endif /* Remaining attributes are packed into sequential post-transform * vertex attrib slots. -- 2.30.2