r2: added code for the future glsl preprocessing