From: Dave Airlie Date: Mon, 23 Feb 2009 03:49:29 +0000 (+1000) Subject: radeon: add more debug info to the flush debug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4502f0f8c065f28c257b7be67021d3920e51a99;p=mesa.git radeon: add more debug info to the flush debug --- diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index 3c491d584a0..f7c0d7d64f5 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -663,7 +663,7 @@ void radeonFlush(GLcontext *ctx) { radeonContextPtr radeon = RADEON_CONTEXT(ctx); if (RADEON_DEBUG & DEBUG_IOCTL) - fprintf(stderr, "%s\n", __FUNCTION__); + fprintf(stderr, "%s %d\n", __FUNCTION__, radeon->cmdbuf.cs->cdw); if (radeon->dma.flush) radeon->dma.flush( ctx );