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
/
for.glsl
blob
862ca8bd6ccfe9c397febc9a6884e79d0c20dc24
1
uniform int KernelSizeInt;
2
3
void main() {
4
int i;
5
vec4 sum = vec4(0.0);
6
for (i = 0; i < KernelSizeInt; ++i) {
7
sum.g += 0.25;
8
}
9
sum.a = 1.0;
10
gl_FragColor = sum;
11
}