1uniform half4 colorGreen, colorRed; 2 3half4 main(float2 coords) { 4 float x = 0.5, y = x * 2; 5 return (y == 1) ? colorGreen : colorRed; 6} 7