mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
10 lines
146 B
Text
10 lines
146 B
Text
|
|
void main() {
|
||
|
|
float sum = 0.0;
|
||
|
|
while (true) {
|
||
|
|
sum += 0.1;
|
||
|
|
if (sum > 0.8)
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
gl_FragColor = vec4(sum);
|
||
|
|
}
|