mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
593a3f7f6b
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31205 e7fa87d3-cd2b-0410-9028-fcbf551c1848
21 lines
246 B
GLSL
21 lines
246 B
GLSL
#version 300 es
|
|
void main() {
|
|
int i = 0;
|
|
int A, B, C, D;
|
|
while (i<10) {
|
|
A = 1;
|
|
if (i%2 == 0) {
|
|
B = 2;
|
|
continue;
|
|
C = 2;
|
|
}
|
|
if (i%5 == 0) {
|
|
B = 2;
|
|
break;
|
|
C = 2;
|
|
}
|
|
i++;
|
|
}
|
|
D = 3;
|
|
}
|