ilo: avoid unnecessary emission of SO states
authorChia-I Wu <olvaffe@gmail.com>
Wed, 22 May 2013 07:33:15 +0000 (15:33 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 22 May 2013 10:09:17 +0000 (18:09 +0800)
commitbbb30398e58440bf542427a408810cf0e31297b5
tree81785247d10eafa2397a73410ce7ccca65866b02
parent08f87ac333512a77a2701268dd98ef4274c34832
ilo: avoid unnecessary emission of SO states

No need to emit 3DSTATE_SO_BUFFER and 3DSTATE_SO_DECL_LIST when SO is
disabled.  As the implicit flush done by the commands is also gone, emit an
explicit flush.
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c