radeonsi: separate the compilation chunk of si_create_shader_selector
authorMarek Olšák <marek.olsak@amd.com>
Sat, 11 Jun 2016 16:59:26 +0000 (18:59 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 4 Jul 2016 22:47:13 +0000 (00:47 +0200)
commit850cd953b16a12c85d39a454302da38b00cfe68c
tree45187164cc767d8b50e044ae3d90758f4cb94fa0
parent6781a2a9942c760776a6b769e8891916bb8c3a82
radeonsi: separate the compilation chunk of si_create_shader_selector

The function interface is ready to be used by util_queue.
Also, si_shader_select_with_key can no longer accept si_context.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c