draw/gs: preserve leading vertex info for gs
authorZack Rusin <zackr@vmware.com>
Tue, 23 Apr 2013 00:44:21 +0000 (20:44 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 23 Apr 2013 10:17:59 +0000 (06:17 -0400)
commit1a87473998b4af2dbe37aa3ce0c004e62d3fe2c0
treefb2b581d05436488e7d00920014e48b9b23154f0
parentaddf00e2add2a51e50f33468221656a9c1389b02
draw/gs: preserve leading vertex info for gs

We need to handle the leading vertex information when
assembling primitives for the geometry shader otherwise
the resulting triangles will have vertices at incorrect
input locations.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_gs_tmp.h