i965: Always have the struct gl_program * in the backend visitor.
authorEric Anholt <eric@anholt.net>
Thu, 3 Oct 2013 17:30:07 +0000 (10:30 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Oct 2013 17:18:40 +0000 (10:18 -0700)
commit5463b5bbbdf133986ac89fd6afdf2bc9622e3ca6
tree2849fd775423b0465c4c5846b2156ba59290d04f
parent278879838827d99563fe61639aa0f19240ce495d
i965: Always have the struct gl_program * in the backend visitor.

vec4 already had it, so put it in the FS, too.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4.h