11 lines
187 B
Plaintext
11 lines
187 B
Plaintext
|
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);
|
||
|
}
|
||
|
}
|