mesa/glsl: copy num_abos to gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 27 Oct 2016 05:17:19 +0000 (16:17 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Nov 2016 01:52:24 +0000 (12:52 +1100)
commit5581f2a8f27cda7a9d239ab655829d9159af5544
treecb7a9dea3b8fdeb67dc289ca32fa9093b203152e
parentba40c8b03cb5250af771c50ff785bd5ec293e3c1
mesa/glsl: copy num_abos to gl_program

We should be able to free gl_linked_shader after linking in order to
do so we need to switch to getting values from gl_program instead.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/glsl_to_nir.cpp
src/mesa/main/shaderapi.c