st/mesa/glsl: move SamplerTargets to gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 8 Nov 2016 22:49:59 +0000 (09:49 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:42 +0000 (11:21 +1100)
commit076ab157ff2ed7a98b09363bce355247f4ed71e6
tree1df981f143864f8a22871471fa6cd78f5e577f10
parent937523971f42f37b40badb962e575ecd8258b2d5
st/mesa/glsl: move SamplerTargets to gl_program

This will help allow us to simplify the handling of samplers by
storing them in a single location rather than duplicating them in
both gl_linked_shader and gl_program.

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