blob: 25523eb90cd35adb80cc8a99b8eb468ff8273cf9 [file] [log] [blame]
uniform half4 color;
inline bool test(half4 v) {
return v.x <= 0.5;
}
void main() {
sk_FragColor = test(color) ? half4(0.5) : half4(1.0);
}