[Mesa-dev] [PATCH 07/20] radeonsi: unduplicate code in create_context
Marek Olšák
maraeo at gmail.com
Wed Aug 7 17:20:47 PDT 2013
---
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 69b9ca9..3ebed98 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);
--
1.8.1.2
More information about the mesa-dev
mailing list