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-nonsquare-matrix-reversed-row-column.frag
blob0a87e1c17b9bcaf138c2c4a6cb8fdc4d4ceb04bb
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 mat4x2 consists of 4x vec2 columns, but 2x vec4 columns
13     // given as initializer
14     mat4x2 c = { vec4(0.0), vec4(1.0) };
15     gl_FragColor = vec4(1.0);