i965/gen6/gs: Make sure we complete the last primitive.
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 21 Jul 2014 07:18:52 +0000 (09:18 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Sep 2014 13:01:15 +0000 (15:01 +0200)
commitc1b8a5155b4026ac6d0fdeae9afd12e489ef106b
tree309bb8000aa1c79c5e82b3d3072067a978a00634
parentd93ca68666675392e632a5c0f99a33ff25a42e53
i965/gen6/gs: Make sure we complete the last primitive.

Just in case the GS algorithm does not call EndPrimitive() for the last
primitive produced. This is relevant only for non point outputs, since for
this we are already setting the PrimEnd flag on each vertex we emit.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp