4 [vertex shader passthrough]
14 /* This is a general step() test, but it is designed to tickle an
15 * optimization path in the GEN4 and GEN5 code generation in the i965
16 * driver. This optimization tries to generate different code for
17 * expressions like 'float(expr cmp 0)'.
19 gl_FragColor = step(0.0, a * b) * color0 + color1;
25 uniform vec4 color0 1.0 -1.0 0.0 0.0
26 uniform vec4 color1 0.0 1.0 0.0 1.0
28 relative probe rgba (0.25, 0.5) (0.0, 1.0, 0.0, 1.0)
32 uniform vec4 color0 -1.0 1.0 0.0 0.0
33 uniform vec4 color1 1.0 0.0 0.0 1.0
35 relative probe rgba (0.75, 0.5) (0.0, 1.0, 0.0, 1.0)