sampler is also not an lvalue type.
This will not really make sense for plain GLSL/ESSL target, but other backends might want it and useful to have for debugging.