Mesa (master): r600g/compute: Fix build error in debug code

Tom Stellard tstellar at kemper.freedesktop.org
Thu May 2 16:02:56 UTC 2013


Module: Mesa
Branch: master
Commit: 5752be0cb78c2a2e30b88eaf8addc173ae483e9e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5752be0cb78c2a2e30b88eaf8addc173ae483e9e

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 26 13:21:04 2013 -0400

r600g/compute: Fix build error in debug code

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/r600/evergreen_compute.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index d6b0a47..5f67759 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -454,7 +454,7 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout,
 #if 0
 	COMPUTE_DBG(ctx->screen, "cdw: %i\n", cs->cdw);
 	for (i = 0; i < cs->cdw; i++) {
-		COMPUTE_DBG(ctx->screen, "%4i : 0x%08X\n", i, ctx->cs->buf[i]);
+		COMPUTE_DBG(ctx->screen, "%4i : 0x%08X\n", i, cs->buf[i]);
 	}
 #endif
 




More information about the mesa-commit mailing list