glsl: test loop unroll with uint overflow
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / illegal-aggregate-initializer-vec-too-many-elements.frag
blob2a700c4b0933d40097479f30cc3feecab98c6056
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 void main() {
12     // Illegal since b is a 3-element vector, but 4 elements given as initializer
13     vec3 b = { 1.0, 2.0, 3.0, 4.0 };
14     gl_FragColor = vec4(1.0);