ilo: introduce vertex element CSO
authorChia-I Wu <olvaffe@gmail.com>
Fri, 31 May 2013 18:00:55 +0000 (02:00 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 7 Jun 2013 03:13:15 +0000 (11:13 +0800)
commit70e78211d6c09b3076ac261d2cde9d0037540065
treef9cc047a59838302e2aff736eef02f49a82bc862
parentd4fa98db0c9a5d640fee946c713c8d06597e47f3
ilo: introduce vertex element CSO

Introduce ilo_ve_cso and initialize it in create_vertex_elements_state().
This commit goes a step further by setting up mappings from HW VB to PIPE VB,
which we failed to do previously.  That allows us to support instanced
rendering.
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_screen.c
src/gallium/drivers/ilo/ilo_state.c