summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-09-26 12:08:08 +0100
committerKeith Whitwell <[email protected]>2007-09-27 07:56:23 +0100
commitc5cfa639880d5309a2276dc0c47a73ca0752d696 (patch)
tree54fb229ada253890ce9812d3f29e00e521145fe5
parente078f910dcdba2081a52b74308ca3d330115e912 (diff)
disable debug
-rw-r--r--src/mesa/pipe/draw/draw_prim.c1
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader.c5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c
index a497a350f7d..698557d6bda 100644
--- a/src/mesa/pipe/draw/draw_prim.c
+++ b/src/mesa/pipe/draw/draw_prim.c
@@ -374,7 +374,6 @@ draw_prim( struct draw_context *draw, unsigned start, unsigned count )
static void
draw_set_prim( struct draw_context *draw, unsigned prim )
{
- _mesa_printf("%s %d\n", __FUNCTION__, prim);
assert(prim >= PIPE_PRIM_POINTS);
assert(prim <= PIPE_PRIM_POLYGON);
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c
index b9e4cc13cca..fe4f124dd2f 100644
--- a/src/mesa/pipe/draw/draw_vertex_shader.c
+++ b/src/mesa/pipe/draw/draw_vertex_shader.c
@@ -169,12 +169,13 @@ run_vertex_program(struct draw_context *draw,
vOut[j]->data[slot][1] = machine.Outputs[slot].xyzw[1].f[j];
vOut[j]->data[slot][2] = machine.Outputs[slot].xyzw[2].f[j];
vOut[j]->data[slot][3] = machine.Outputs[slot].xyzw[3].f[j];
-
+ /*
printf("output %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]);
+ */
}
} /* loop over vertices */
}
@@ -188,7 +189,7 @@ void draw_vertex_shader_queue_flush( struct draw_context *draw )
{
unsigned i, j;
- fprintf(stderr, " q(%d) ", draw->vs.queue_nr );
+// fprintf(stderr, " q(%d) ", draw->vs.queue_nr );
/* run vertex shader on vertex cache entries, four per invokation */
for (i = 0; i < draw->vs.queue_nr; i += 4) {