radeonsi: remove switch statement in si_create_context
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Jul 2015 12:42:38 +0000 (14:42 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:24 +0000 (00:59 +0200)
commit0aa2446e2c18e4a54ccf8555a8ff3426e4eb3ded
tree99bedbfa54c3adebb7fe9d20ba0b61ed0d7c7225
parent46b2b3bda8d962fce02838e09c742ac06fbec45f
radeonsi: remove switch statement in si_create_context

and make si_init_config static

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h