ilo: introduce ilo_shader_cso for VS
authorChia-I Wu <olvaffe@gmail.com>
Thu, 20 Jun 2013 08:34:25 +0000 (16:34 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2013 04:42:04 +0000 (12:42 +0800)
commitd209da5e338ee1f437cbce21e9cba667d60ee557
tree23fc047677dde5b9d592cdab65897d6032d1cdf9
parent5c8db569abf3f1e508d57cccb95856936bce29e4
ilo: introduce ilo_shader_cso for VS

When a new VS kernel is generated, a newly added function,
ilo_gpe_init_vs_cso(), is called to construct 3DSTATE_VS command in
ilo_shader_cso.  When the command needs to be emitted later, we copy the
command from the CSO instead of constructing it dynamically.
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.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_shader.c
src/gallium/drivers/ilo/ilo_shader.h
src/gallium/drivers/ilo/shader/ilo_shader_internal.h