mesa/glsl: set sampler units directly in gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 4 Nov 2016 06:05:22 +0000 (17:05 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:42 +0000 (11:21 +1100)
commit53a509723ff10ae1494e611de3823f17b7e9f225
tree807c5bffbfa4027f9c178787709187812c4570bc
parent7cc61cf706e857e27ea3ce9578b9c480bfbc94a1
mesa/glsl: set sampler units directly in gl_program

Now that we create gl_program earlier there is no need to mess about
copying things to gl_linked_shader then to gl_program.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/link_uniform_initializers.cpp
src/mesa/main/mtypes.h
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c