cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / tests / glslparsertest / glsl2 / bit-logic-assign-08.frag
blobe60b812f004ad406fe81a7402f44f1a7889e833a
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.30
4 //
5 // [end config]
7 // Expected: FAIL, glsl == 1.30
8 //
9 // Description: bit-and assignment with argument type (ivec2, uint)
11 // From page 50 (page 56 of PDF) of the GLSL 1.30 spec:
12 // "The fundamental types of the operands (signed or unsigned) must match"
14 #version 130
15 void main() {
16     ivec2 v = ivec2(0, 1);
17     v &= uint(7);