i965: get LinkedTransformFeedback from gl_transform_feedback_object
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 8 Nov 2016 09:59:25 +0000 (20:59 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 29 Dec 2016 23:57:16 +0000 (10:57 +1100)
commit31c04e4e229bec4e059779b4034cf597ceeadf97
treeba634df14ca1a670df804d8fd1fdc80d54d88889
parent29d70f5de966c18d563475bc5f60f252e9a900a3
i965: get LinkedTransformFeedback from gl_transform_feedback_object

We have already set the gl_shader_program pointer to the correct
shader program in _mesa_BeginTransformFeedback() so use it.

This is more consistent with how we do it for gen7.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen6_sol.c