diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-15 13:55:18 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-15 13:55:18 -0600 |
commit | ddeec1ed10d6c12403fe8d30c072ea68f044db99 (patch) | |
tree | ae7b571024a8417986fcad8ee30c659af1628cee /src/gallium/drivers/cell/spu/spu_render.c | |
parent | 53951531ae7bfd64afae1ae55aac7f6ebd3fe4f5 (diff) |
cell: simplify spu debug code
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_render.c')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_render.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_render.c b/src/gallium/drivers/cell/spu/spu_render.c index 82dbeb26b7..cfff19b6c0 100644 --- a/src/gallium/drivers/cell/spu/spu_render.c +++ b/src/gallium/drivers/cell/spu/spu_render.c @@ -177,7 +177,7 @@ cmd_render(const struct cell_command_render *render, uint *pos_incr) uint i, j; - if (Debug) { +#if 0 printf("SPU %u: RENDER prim %u, num_vert=%u num_ind=%u " "inline_vert=%u\n", spu.init.id, @@ -190,7 +190,7 @@ cmd_render(const struct cell_command_render *render, uint *pos_incr) printf(" bound: %g, %g .. %g, %g\n", render->xmin, render->ymin, render->xmax, render->ymax); */ - } +#endif ASSERT(sizeof(*render) % 4 == 0); ASSERT(total_vertex_bytes % 16 == 0); @@ -293,7 +293,8 @@ cmd_render(const struct cell_command_render *render, uint *pos_incr) spu.ztile_status[ty][tx] = spu.cur_ztile_status; } - if (Debug) +#if 0 printf("SPU %u: RENDER done\n", spu.init.id); +#endif } |