st/mesa/glsl: change xfb_program field to last_vert_prog
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 20 Nov 2016 10:44:29 +0000 (21:44 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 23 Jan 2017 03:48:04 +0000 (14:48 +1100)
commitf86d15ed94df59e4b3cdb4099d69cdd81f52fc27
tree5d6f13c0b405bb2ee1e79b6ed6142794cd4a6af4
parentc505d6d852220f4aaaee161465dd2c579647e672
st/mesa/glsl: change xfb_program field to last_vert_prog

Now that the i965 backend doesn't depend on this field we can
make it more generic and short circuit a bunch of code paths.

The new field will be used in a following patch for another
clean-up.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/linker.cpp
src/mesa/main/mtypes.h
src/mesa/main/shader_query.cpp
src/mesa/main/transformfeedback.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_program.c