st/mesa/glsl/i965: set num_ubos directly in shader_info
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 4 Nov 2016 21:44:22 +0000 (08:44 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:41 +0000 (11:21 +1100)
commitb792c3897927c1d89968bc0040faef02ec976184
treec2de83abcdb6522dd42b2599127fbc1f1b2dccbe
parenta1da57c19c27505b9eab4792355f2f1b5c774a0a
st/mesa/glsl/i965: set num_ubos directly in shader_info

This also removes the duplicate field in gl_linked_shader, and
gets num_ubos 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_constbuf.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp