glsl: add ARB_derivative control support