i965/vs: Pass the brw_context pointer into vec4_visitor and do_vs_prog.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 06:14:27 +0000 (22:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Nov 2012 02:15:50 +0000 (18:15 -0800)
commit403bb1d306c5bc23ad9e2c26fd39071e6e41f665
tree88a80ec00823edfd9e314595985836bd929520ec
parentdd50c88386c8220f4631115b68a10930378ead6c
i965/vs: Pass the brw_context pointer into vec4_visitor and do_vs_prog.

We used to steal it out of the brw_compile struct...but vec4_visitor
isn't going to have one of those in the future.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs.h