diff options
author | Zack Rusin <[email protected]> | 2010-03-10 16:31:18 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-03-10 16:32:07 -0500 |
commit | a44f362567f6ed4054e88d8afc94d38f19ed6269 (patch) | |
tree | 12643a0103bae89788157d55455a1454c0799a12 /progs/fpglsl/simpleif.glsl | |
parent | a75519cb43c85b99cd54bc46dd83accda0cbd6cd (diff) |
fpglsl: a few more useful glsl tests
Diffstat (limited to 'progs/fpglsl/simpleif.glsl')
-rw-r--r-- | progs/fpglsl/simpleif.glsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/fpglsl/simpleif.glsl b/progs/fpglsl/simpleif.glsl new file mode 100644 index 00000000000..922421b4108 --- /dev/null +++ b/progs/fpglsl/simpleif.glsl @@ -0,0 +1,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); + } +} |