diff options
author | Marek Olšák <[email protected]> | 2010-07-13 00:47:39 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-13 01:34:21 +0200 |
commit | 50db6dba65560c1fb598d495d7d4103019bbbea5 (patch) | |
tree | 86a781ad72169c7be27d49b1c16f96f186ec61dd /src/gallium/drivers/r300/r300_render.c | |
parent | 499022c282ae8ed913f1f9dd652cf39b74d9f286 (diff) |
r300g: extend and clean up debug logging
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index cf80692300a..970cb688378 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -870,13 +870,12 @@ static void r300_render_draw_arrays(struct vbuf_render* render, unsigned dwords = 6; CS_LOCALS(r300); - (void) i; (void) ptr; r300_prepare_for_rendering(r300, PREP_FIRST_DRAW | PREP_EMIT_AOS_SWTCL, NULL, dwords, 0, 0, NULL); - DBG(r300, DBG_DRAW, "r300: Doing vbuf render, count %d\n", count); + DBG(r300, DBG_DRAW, "r300: render_draw_arrays (count: %d)\n", count); /* Uncomment to dump all VBOs rendered through this interface. * Slow and noisy! @@ -919,6 +918,7 @@ static void r300_render_draw_elements(struct vbuf_render* render, unsigned free_dwords; CS_LOCALS(r300); + DBG(r300, DBG_DRAW, "r300: render_draw_elements (count: %d)\n", count); /* Reserve at least 256 dwords. * @@ -1052,6 +1052,8 @@ static void r300_blitter_draw_rectangle(struct blitter_context *blitter, r300_prepare_for_rendering(r300, PREP_FIRST_DRAW, NULL, dwords, 0, 0, NULL); + DBG(r300, DBG_DRAW, "r300: draw_rectangle\n"); + BEGIN_CS_AS_CB(r300, dwords); /* Set up GA. */ OUT_CB_REG(R300_GA_POINT_SIZE, (height * 6) | ((width * 6) << 16)); |