fbo-mrt-alphatest: Actually require MRTs to be available.
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / length-scalar.frag
blobe04ece968c841082e13a8b8ea944edc7372352a9
1 /* [config]
2  * expect_result: fail
3  * glsl_version: 1.30
4  * require_extensions: GL_ARB_shading_language_420pack
5  * [end config]
6  */
8 #version 130
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)."
13  *
14  * Verify that scalar.length() generates an error.
15  */
17 void main() {
18     float x;
19     gl_FragColor = vec4(x.length());