ilo: move SBE setup code to ilo_shader.c
authorChia-I Wu <olvaffe@gmail.com>
Mon, 24 Jun 2013 06:13:33 +0000 (14:13 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 05:51:58 +0000 (13:51 +0800)
commit9b18df6e087a4db8ed5ed38bcc6b1db34fa95586
tree677fc49af1f7b06ebce449dc39f2e56e42252ace
parentc4fa24ff0873b7b9a5c4dacbd2c130788e88ad35
ilo: move SBE setup code to ilo_shader.c

Add ilo_shader_select_kernel_routing() to construct 3DSTATE_SBE.  It is called
in ilo_finalize_states(), rather than in create_fs_state(), as it depends on
VS/GS and rasterizer states.

With this change, ilo_shader_internal.h is no longer needed for
ilo_gpe_gen6.c.
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_shader.c
src/gallium/drivers/ilo/ilo_shader.h
src/gallium/drivers/ilo/ilo_state.c
src/gallium/drivers/ilo/shader/ilo_shader_fs.c
src/gallium/drivers/ilo/shader/ilo_shader_internal.h