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