ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / illegal-aggregate-initializer-spurious-braces.frag
blob8a9e607c3f8a366d51eb202072b79124aac0b377
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 initializer of unknown type
13     // given.
14     vec3 b = {{ 1.0, 2.0, 3.0 }};
15     gl_FragColor = vec4(1.0);