blob: ac3e0db804d0fa0c33161a19777515881dd7378a [file] [log] [blame]
uniform half4 color;
inline bool ifTest(half4 v) {
return color.x >= 0.5;
}
void main() {
if (ifTest(color))
sk_FragColor = half4(1.0);
else
sk_FragColor = half4(0.5);
}