r600g/compute: Fix build error in debug code
authorTom Stellard <thomas.stellard@amd.com>
Fri, 26 Apr 2013 17:21:04 +0000 (13:21 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 2 May 2013 16:00:37 +0000 (09:00 -0700)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_compute.c

index d6b0a47cf264e55143b5227fa3e938ca106cb4ca..5f67759889a3a2ae67b04bfe66c7da76de0ecc36 100644 (file)
@@ -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