glsl: use is_sampler() anywhere it's possible