gallivm: implement implicit primitive flushing
authorZack Rusin <zackr@vmware.com>
Wed, 27 Mar 2013 09:30:38 +0000 (02:30 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 27 Mar 2013 10:53:02 +0000 (03:53 -0700)
commitb66ffcf2f8a0128497d1e0afed0416a4aa4a14be
treed62010459bb28e4a93493fd36a5b3cf47a418b31
parente96f4e3b853ff5fe4d927c69695c0b5f1966d448
gallivm: implement implicit primitive flushing

TGSI semantics currently require an implicit endprim at the end
of GS if an ending primitive hasn't been emitted.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c