st/mesa/glsl: set num_images directly in shader_info
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 9 Nov 2016 02:35:11 +0000 (13:35 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 9 Jan 2017 04:27:35 +0000 (15:27 +1100)
commitae632afe4fd860f016d2e5b360d66dc4e72ce72a
tree1d64fb52cbc54e1de3e78d66854964ccafc13ab9
parent4b30011d34bff039b84f6cd14bf58ea691f549eb
st/mesa/glsl: set num_images directly in shader_info

This change also removes the now duplicate NumImages field.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/linker.cpp
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/state_tracker/st_atom_image.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp