From: Marek Olšák Date: Tue, 6 Aug 2013 04:33:22 +0000 (+0200) Subject: radeonsi: unduplicate code in create_context X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d1b01662bd72b33923a60abad98eb9623406cbc;p=mesa.git radeonsi: unduplicate code in create_context Reviewed-by: Michel Dänzer --- 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);