draw/so: Fix stream output with geometry shaders
authorZack Rusin <zackr@vmware.com>
Tue, 12 Mar 2013 20:41:35 +0000 (13:41 -0700)
committerZack Rusin <zackr@vmware.com>
Tue, 12 Mar 2013 23:22:26 +0000 (16:22 -0700)
commit42c1b33f6d5ee1ab4ab7fdc8a7ab2c1dcd9e43e6
treedde9000298c2889dba997facc15c333a50662ef2
parent57cd1d1454653f778837eec0ee5d4060bc59c5ba
draw/so: Fix stream output with geometry shaders

If geometry shader is present its stream output info should
be used instead of the vs and we shouldn't use the pre-clipped
corrdinates.

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