summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-24 12:30:49 -0600
committerBrian <[email protected]>2007-10-24 12:32:42 -0600
commit4eafe69a2ac27e8e92ce0fc503a5d6cc24b8f257 (patch)
tree59cb72a65b9def6a1e0b056e044d215037433d6f /src
parent76a4fd098f44ae4f226d4747b9fdaf9db5d40270 (diff)
better debug output
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader.c6
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 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.