ilo: emit 3DPRIMITIVE from gen6_3dprimitive_info
authorChia-I Wu <olvaffe@gmail.com>
Mon, 22 Jun 2015 06:27:19 +0000 (14:27 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 22 Jun 2015 07:18:57 +0000 (15:18 +0800)
commit878714142999ca6a6aa03d962e01da94d44c8574
tree61ecabebd98bb6805ffa9b1cf64aad70c30faef3
parent58f95b332d0cbad226f5bb2e96cd0cad8864fe79
ilo: emit 3DPRIMITIVE from gen6_3dprimitive_info

It allows us to remove ilo_ib_state::draw_start_offset and
ILO_PRIM_RECTANGLES.  gen6_3d_translate_pipe_prim() is also replaced by
ilo_translate_draw_mode().
src/gallium/drivers/ilo/core/ilo_builder_3d.h
src/gallium/drivers/ilo/core/ilo_builder_3d_top.h
src/gallium/drivers/ilo/core/ilo_core.h
src/gallium/drivers/ilo/ilo_blitter.h
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
src/gallium/drivers/ilo/ilo_render_gen.h
src/gallium/drivers/ilo/ilo_render_gen6.c
src/gallium/drivers/ilo/ilo_render_gen7.c
src/gallium/drivers/ilo/ilo_render_gen8.c
src/gallium/drivers/ilo/ilo_state.c
src/gallium/drivers/ilo/ilo_state.h