cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / glslparsertest / glsl2 / assignment-type-mismatch.vert
blob351229adc2259443491b56938edb4201a7d03548
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.10
4 //
5 // [end config]
7 /* FAIL - type mismatch in assignment
8  */
9 uniform float alpha;
11 void main()
13         gl_Position = gl_Vertex;
15         /* This reproduces the assertion failure reported in bugzilla #30623.
16          */
17         vec3 c = vec4(vec3(0.0, 1.0, 0.0), alpha);
19         gl_FrontColor = vec4(c, 1.0);