Fix auto-profile with GLSL.