ilo: use ilo_shader_cso for FS
authorChia-I Wu <olvaffe@gmail.com>
Fri, 21 Jun 2013 03:36:11 +0000 (11:36 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 05:18:08 +0000 (13:18 +0800)
commit68522bf36ce13f7be7aa0dbd9345f287053ff5c2
tree4d1b275f2a272dbbcc9dc386a79b5a85aad4111c
parent639a2cddc6b95a287337f4ec1f18d714cb7e6baa
ilo: use ilo_shader_cso for FS

Add ilo_gpe_init_fs_cso() to construct 3DSTATE_PS and shader part of
3DSTATE_WM once and early for fragment shaders.
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen6.h
src/gallium/drivers/ilo/ilo_gpe_gen7.c
src/gallium/drivers/ilo/ilo_gpe_gen7.h
src/gallium/drivers/ilo/ilo_shader.c