From a44f362567f6ed4054e88d8afc94d38f19ed6269 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Wed, 10 Mar 2010 16:31:18 -0500 Subject: fpglsl: a few more useful glsl tests --- progs/fpglsl/dowhile.glsl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 progs/fpglsl/dowhile.glsl (limited to 'progs/fpglsl/dowhile.glsl') diff --git a/progs/fpglsl/dowhile.glsl b/progs/fpglsl/dowhile.glsl new file mode 100644 index 00000000000..ed9d7296753 --- /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); +} -- cgit v1.2.3