1 # This test exercises a bug found in Mesa: if function inlining caused
2 # an execution of notEqual() to be constant-folded, an assertion
10 gl_Position = gl_Vertex;
14 bvec4 foo(vec4 x, vec4 y)
16 return notEqual(x, y);
21 gl_FragColor = vec4(foo(vec4(0.0, 0.0, 1.0, 1.0),
22 vec4(0.0, 1.0, 1.0, 0.0)));
27 probe all rgba 0.0 1.0 0.0 1.0