ci: Remove gcc from macos matrix
[glslang.git] / Test / spv.1.4.LoopControl.frag
blob00392ae502eeb195fe54218b508e27c28e33f9f3
1 #version 450
3 #extension GL_EXT_control_flow_attributes : enable
5 bool cond;
7 void main()
9         [[min_iterations(3), max_iterations(7)]]   for (int i = 0; i < 8; ++i) { }
10         [[iteration_multiple(2)]]                  while(true) {  }
11         [[peel_count(5)]]                          do {  } while(true);
12         [[partial_count(4)]]                       for (int i = 0; i < 8; ++i) { }
14         // warnings on all these
15         [[min_iterations, max_iterations]]   for (int i = 0; i < 8; ++i) { }
16         //[[iteration_multiple(0)]]                  while(true) {  }
17         //[[peel_count]]                          do {  } while(true);
18         //[[partial_count]]                       for (int i = 0; i < 8; ++i) { }