i965: Store a key_tex pointer in vec4_visitor.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Aug 2015 06:55:28 +0000 (23:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 4 Sep 2015 05:31:03 +0000 (22:31 -0700)
commit27e83b62bb52de7a681ed82679a707555023f43d
tree034e5685baeac0273c060883b200328547f18eb2
parent014b90221ad5cf833bfdd55b0336771d209f0f1d
i965: Store a key_tex pointer in vec4_visitor.

I'm about to remove the base class for VS/GS/HS/DS program keys, at
which point we won't be able to use key->tex anymore.  Instead, we'll
need to store a direct pointer (like we do in the FS backend).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp