[Rend2] Remove use of deprecated GLSL features