summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.while-continue-break.vert
blob: c81e8d28c23be1e066a31be88fd2d997b2dde5e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#version 310 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;
}