From d0349c91c85c929de0502c4aeddae5b0ee3a1b7b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 9 Oct 2012 01:11:56 +0200 Subject: r600g: remove unused variables to fix compile warnings --- src/gallium/drivers/r600/evergreen_compute.c | 2 -- src/gallium/drivers/r600/evergreen_compute_internal.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/gallium/drivers/r600') diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index b7c734512e2..fe9e2f98ce0 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -479,8 +479,6 @@ static void evergreen_launch_grid( uint32_t pc, const void *input) { struct r600_context *ctx = (struct r600_context *)ctx_; - struct r600_pipe_compute *shader = ctx->cs_shader_state.shader; - void *p; COMPUTE_DBG("*** evergreen_launch_grid: pc = %u\n", pc); diff --git a/src/gallium/drivers/r600/evergreen_compute_internal.c b/src/gallium/drivers/r600/evergreen_compute_internal.c index 496d099609a..3b1e5812d02 100644 --- a/src/gallium/drivers/r600/evergreen_compute_internal.c +++ b/src/gallium/drivers/r600/evergreen_compute_internal.c @@ -294,8 +294,6 @@ void evergreen_set_rat( pipe->ctx->compute_cb_target_mask |= (0xf << (id * 4)); surf = (struct r600_surface*)pipe->ctx->framebuffer.state.cbufs[id]; - - struct radeon_surface *rsurf = &((struct r600_texture*)surf->base.texture)->surface; evergreen_init_color_surface_rat(rctx, surf); } -- cgit v1.2.3