4 * require_extensions: GL_ARB_shading_language_420pack
9 #extension GL_ARB_shading_language_420pack: enable
11 /* The ARB_shading_language_420pack spec says:
12 * "The *length* method may be applied to vectors (but not scalars)."
14 * Verify that scalar.length() generates an error.
19 gl_FragColor = vec4(x.length());