rend2: glsl guards