projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e801b78
)
radeonsi: unduplicate code in create_context
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 6 Aug 2013 04:33:22 +0000
(06:33 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 15 Aug 2013 00:03:03 +0000
(
02:03
+0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/radeonsi_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 3c736792c64fde4c6f51669685bf14453764c4bb..b4a1ca93fe6f5121b478c3de6aaadd0aaa791747 100644
(file)
--- 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);