i965 gs: Move vue_map to brw_gs_compile.
authorPaul Berry <stereotype441@gmail.com>
Wed, 7 Dec 2011 15:14:56 +0000 (07:14 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Dec 2011 22:32:16 +0000 (14:32 -0800)
commit1413f955ebe213037a9d893e0b7391cac4ba3a57
tree2ed56ca5e62b066be9bb09e07c0e601844e53434
parentfd5d0c8b12a0e144aa8e95540c0da2161d8e089a
i965 gs: Move vue_map to brw_gs_compile.

This patch stores the geometry shader VUE map from a local variable in
compile_gs_prog() to a field in the brw_gs_compile struct, so that it
will be available while compiling the geometry shader.  This is
necessary in order to support transform feedback on Gen6, because the
Gen6 geometry shader code that supports transform feedback needs to be
able to inspect the VUE map in order to find the correct vertex data
to output.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_gs.h