mesa/glsl: copy num_images to gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 27 Oct 2016 03:47:09 +0000 (14:47 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Nov 2016 01:52:24 +0000 (12:52 +1100)
commit9c2042f2ce4c6f8746153138692fb06954ec2ed7
treebbd52b5069f6cc74567bb798fcc649fc9704e271
parent6b82e957be216ab3c55e1567f8a1329432e61267
mesa/glsl: copy num_images 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