aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute_internal.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-09 01:11:56 +0200
committerMarek Olšák <[email protected]>2012-10-09 01:11:56 +0200
commitd0349c91c85c929de0502c4aeddae5b0ee3a1b7b (patch)
treeefd199caf90cf6b7432954682d98daf3c09910e6 /src/gallium/drivers/r600/evergreen_compute_internal.c
parentd284613422ff8a7b1dc05fad98e185aa5721577f (diff)
r600g: remove unused variables to fix compile warnings
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute_internal.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute_internal.c2
1 files changed, 0 insertions, 2 deletions
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);
}