diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 12:30:49 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 12:32:42 -0600 |
commit | 4eafe69a2ac27e8e92ce0fc503a5d6cc24b8f257 (patch) | |
tree | 59cb72a65b9def6a1e0b056e044d215037433d6f | |
parent | 76a4fd098f44ae4f226d4747b9fdaf9db5d40270 (diff) |
better debug output
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex_shader.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c index 24cbf20fc7..d8bd5a96d6 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. |