summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-08-06 06:33:22 +0200
committerMarek Olšák <[email protected]>2013-08-15 02:03:03 +0200
commit3d1b01662bd72b33923a60abad98eb9623406cbc (patch)
treefbe11361ba42e0b1c7280445d930255fc6632641 /src/gallium/drivers/radeonsi
parente801b78aa0096a61f77479f66fcb6961c4dc28c8 (diff)
radeonsi: unduplicate code in create_context
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-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 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);