mesa: store gl_program in gl_transform_feedback_object rather than gl_shader_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 3 Nov 2016 03:35:08 +0000 (14:35 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 29 Dec 2016 23:57:16 +0000 (10:57 +1100)
commit3177eef39277b64af3213603b58ff934b5218e39
tree7471af703fe3298068df96476c6ec4a725104ba5
parent700bc94dcebf4257740483d2ba467b138234fa1a
mesa: store gl_program in gl_transform_feedback_object rather than gl_shader_program

This will allow us to make the CurrentProgram array store gl_program which allows
us to do a bunch of simplifications.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen6_sol.c
src/mesa/drivers/dri/i965/gen7_sol_state.c
src/mesa/main/mtypes.h
src/mesa/main/transformfeedback.c
src/mesa/state_tracker/st_cb_xformfb.c