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