diff options
Diffstat (limited to 'progs/fpglsl/dowhile.glsl')
-rw-r--r-- | progs/fpglsl/dowhile.glsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/fpglsl/dowhile.glsl b/progs/fpglsl/dowhile.glsl new file mode 100644 index 0000000000..ed9d729675 --- /dev/null +++ b/progs/fpglsl/dowhile.glsl @@ -0,0 +1,8 @@ +void main() { + float sum = 0.0; + do { + sum += 0.1; + break; + } while (true); + gl_FragColor = vec4(sum); +} |