glsl: rename var and simplify if