glsl: use is_sampler() anywhere it's possible
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Feb 2017 13:40:21 +0000 (14:40 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Feb 2017 18:41:14 +0000 (19:41 +0100)
commit08a052966fff77b1d3c04f0b75fb1199988ba1fd
tree519d658ebc0056f302b6737e8ee5cd659b8441ce
parente12f4edf9ce69ff76d4c81b1cebd6e2d4934f3c5
glsl: use is_sampler() anywhere it's possible

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/ir.cpp
src/compiler/glsl/link_uniform_initializers.cpp
src/compiler/glsl_types.cpp
src/mesa/main/uniform_query.cpp