projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
generate OpLine before OpFunction
[platform/upstream/glslang.git]
/
Test
/
spv.while-continue-break.vert
1
#version 310 es
2
void main() {
3
int i = 0;
4
int A, B, C, D;
5
while (i<10) {
6
A = 1;
7
if (i%2 == 0) {
8
B = 2;
9
continue;
10
C = 2;
11
}
12
if (i%5 == 0) {
13
B = 2;
14
break;
15
C = 2;
16
}
17
i++;
18
}
19
D = 3;
20
}