llvmpipe: count c_primitives before discarding null prims
authorZack Rusin <zackr@vmware.com>
Thu, 19 Sep 2013 17:37:03 +0000 (13:37 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 25 Sep 2013 23:41:02 +0000 (19:41 -0400)
commit60c448faea54a56047202204c486b8d399429909
tree65aefe4db18a4addb6fccfc744be46be9f85131d
parent1291e833e70f79bc7fb53846c25de7309075ea10
llvmpipe: count c_primitives before discarding null prims

We need to count the clipper primitives before the rasterizer
discards one it considers to be null.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_tri.c