ilo: use multiple entry points for shader creation
authorChia-I Wu <olvaffe@gmail.com>
Thu, 20 Jun 2013 04:46:36 +0000 (12:46 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 03:54:14 +0000 (11:54 +0800)
commitf0afedeb750d9f696242294c730827a28bdaac70
tree1b3aaf271ce10f7fca03598a14eacf3bd2934f57
parent4d789c76dce580d754fe146041d7a1118524a4ff
ilo: use multiple entry points for shader creation

Replace ilo_shader_state_create() by

 ilo_shader_create_vs()
 ilo_shader_create_gs()
 ilo_shader_create_fs()
 ilo_shader_create_cs()

Rename ilo_shader_state_destroy() to ilo_shader_destroy().  The old
ilo_shader_destroy() is renamed to ilo_shader_destroy_kernel().
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_gs.c
src/gallium/drivers/ilo/shader/ilo_shader_internal.h
src/gallium/drivers/ilo/shader/ilo_shader_vs.c