blob: 1697053dea01fb10751951bce85d165d483b8a49 [file] [log] [blame]
inline bool shouldLoop(half4 v) {
return v.x < 0.5;
}
void main() {
sk_FragColor = half4(0);
do {
sk_FragColor += half4(0.125);
} while (shouldLoop(sk_FragColor));
}