repo.or.cz
/
mesa-demos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
demos: add missing binaries to .gitignore
[mesa-demos.git]
/
src
/
fpglsl
/
while2.glsl
blob
19c8904e2830c1c4d89a82d4d6e746fec5bb44f6
1
void main() {
2
float sum = 0.0;
3
while (true) {
4
sum += 0.1;
5
if (sum > 0.8)
6
break;
7
}
8
gl_FragColor = vec4(sum);
9
}