i965: get num_abos from shader_info rather than gl_linked_shader
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 27 Oct 2016 08:15:19 +0000 (19:15 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Nov 2016 01:52:24 +0000 (12:52 +1100)
commit67b9c263425b748a292606dee079c46d87c48c3b
tree9d8084e74cdbdbee5317f4cbf47c733506861574
parent5581f2a8f27cda7a9d239ab655829d9159af5544
i965: get num_abos from shader_info rather than gl_linked_shader

This is a step towards freeing gl_linked_shader after linking.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_gs_surface_state.c
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_tcs_surface_state.c
src/mesa/drivers/dri/i965/brw_tes_surface_state.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c