From 3d1b01662bd72b33923a60abad98eb9623406cbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 6 Aug 2013 06:33:22 +0200 Subject: [PATCH] radeonsi: unduplicate code in create_context MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_pipe.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index 3c736792c64..b4a1ca93fe6 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -233,12 +233,6 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void switch (rctx->chip_class) { case SI: - si_init_state_functions(rctx); - LIST_INITHEAD(&rctx->active_query_list); - rctx->cs = rctx->ws->cs_create(rctx->ws, RING_GFX, NULL); - rctx->max_db = 8; - si_init_config(rctx); - break; case CIK: si_init_state_functions(rctx); LIST_INITHEAD(&rctx->active_query_list); -- 2.30.2