1 2out vec4 sk_FragColor; 3uniform vec4 colorGreen; 4uniform vec4 colorRed; 5vec4 main() { 6 float x = 0.5; 7 float y = x * 2.0; 8 return y == 1.0 ? colorGreen : colorRed; 9} 10