mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radeonsi: unduplicate code in create_context
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
e801b78aa0
commit
3d1b01662b
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue