glsl: Introduce a new "const_in" variable mode.