i965/gen6/gs: Avoid buffering transform feedback varyings twice.
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 13 Aug 2014 10:14:22 +0000 (12:14 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Sep 2014 13:01:16 +0000 (15:01 +0200)
commit2614cde9981ee3609b8e22d84596603a1bd42212
treea25fee7c153ae5e572914a0698f2b07775390c54
parent21204434845398de86fb707c78dd5bdd1fb5826f
i965/gen6/gs: Avoid buffering transform feedback varyings twice.

Currently we buffer transform feedack varyings separately. This patch makes
it so that we reuse the values we have already buffered for all the output
varyings of the geometry shader instead.

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
src/mesa/drivers/dri/i965/gen6_gs_visitor.h