st/mesa/glsl/i965: set num_ssbos directly in shader_info
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 4 Nov 2016 22:24:51 +0000 (09:24 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:41 +0000 (11:21 +1100)
commitf62eb6c7eb22cd97c691ebdb5f25eb5fe8e9ed11
tree6ffcf849dfef0c490d475a880a8208a4ab2fbf9b
parent0e7eec1ab5f27ced1aa4b2d77c2c63512d299694
st/mesa/glsl/i965: set num_ssbos directly in shader_info

Here we also remove the duplicate field in gl_linked_shader and always
get the value from shader_info instead.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/linker.cpp
src/compiler/glsl/lower_ubo_reference.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_atom_storagebuf.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp