summaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/simpleif.glsl
blob: 922421b4108abcb87c339b43765c3470efa47242 (plain)
1
2
3
4
5
6
void main() {
    // this should always be true
    if (gl_FragCoord.x >= 0.0) {
	gl_FragColor = vec4(0.5, 0.0, 0.5, 1.0);
    }
}