summaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/forbreak.glsl
blob: 87669c6575802bb25b47cc7bfae7e7fbbf4b4141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
uniform int KernelSizeInt;

void main() {
    int i;
    vec4 sum = vec4(0.0);
    for (i = 0; i < KernelSizeInt; ++i) {
	sum.g += 0.25;
        if (i > 0)
           break;
    }
    sum.a = 1;
    gl_FragColor = sum;
}