summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pipe.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-18 12:10:24 +0200
committerChristian König <[email protected]>2012-07-24 12:29:30 +0200
commitde3335dba8718efab8b80475f3fd78645def4e1c (patch)
tree8f2557c28c60f279f3631c96bd9c8a9a82905707 /src/gallium/drivers/radeonsi/radeonsi_pipe.c
parent9b213c871a080472660eff271c72a3fcc5d3f578 (diff)
radeonsi: remove old state handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index d3547467ef9..2558f947f84 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@ -175,14 +175,8 @@ static void r600_destroy_context(struct pipe_context *context)
rctx->context.delete_depth_stencil_alpha_state(&rctx->context, rctx->custom_dsa_flush);
util_unreference_framebuffer_state(&rctx->framebuffer);
- r600_context_fini(rctx);
-
util_blitter_destroy(rctx->blitter);
- for (int i = 0; i < R600_PIPE_NSTATES; i++) {
- free(rctx->states[i]);
- }
-
if (rctx->uploader) {
u_upload_destroy(rctx->uploader);
}