From: Tom Stellard Date: Fri, 26 Apr 2013 17:21:04 +0000 (-0400) Subject: r600g/compute: Fix build error in debug code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5752be0cb78c2a2e30b88eaf8addc173ae483e9e;p=mesa.git r600g/compute: Fix build error in debug code Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index d6b0a47cf26..5f67759889a 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