Setup dependent external sources
[platform/upstream/VK-GL-CTS.git] / external / glslang / src / Test / spv.doWhileLoop.frag
1 #version 140
2
3 in vec4 bigColor;
4 in vec4 BaseColor;
5 in float d;
6
7 void main()
8 {
9     vec4 color = BaseColor;
10
11     do {
12         color += bigColor;
13     } while (color.x < d);
14
15     gl_FragColor = color;
16 }