11 lines
194 B
Plaintext
11 lines
194 B
Plaintext
|
inline half4 adjust(half4 v) {
|
||
|
return v + half4(0.125);
|
||
|
}
|
||
|
|
||
|
void main() {
|
||
|
sk_FragColor = half4(0);
|
||
|
do
|
||
|
sk_FragColor = adjust(sk_FragColor);
|
||
|
while (sk_FragColor.x < 0.5);
|
||
|
}
|