From: Brian Date: Fri, 14 Mar 2008 16:23:39 +0000 (-0600) Subject: gallium: added some debug code (disabled) X-Git-Tag: 062012170305~17580^2~390^2~2261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3088eb59497ec8621e003ce3bc87025f257c0a92;p=profile%2Fivi%2Fmesa.git gallium: added some debug code (disabled) --- diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c index 55bec14..364693e 100644 --- a/src/gallium/auxiliary/draw/draw_vs_exec.c +++ b/src/gallium/auxiliary/draw/draw_vs_exec.c @@ -166,6 +166,19 @@ vs_exec_run( struct draw_vertex_shader *shader, vOut[j]->data[slot][2] = machine->Outputs[slot].xyzw[2].f[j]; vOut[j]->data[slot][3] = machine->Outputs[slot].xyzw[3].f[j]; } + +#if 0 /*DEBUG*/ + printf("Post xform vert:\n"); + for (slot = 0; slot < draw->num_vs_outputs; slot++) { + printf("%d: %f %f %f %f\n", slot, + vOut[j]->data[slot][0], + vOut[j]->data[slot][1], + vOut[j]->data[slot][2], + vOut[j]->data[slot][3]); + } +#endif + + } /* loop over vertices */ }