bgfx/3rdparty/glslang/Test/spv.for-continue-break.vert
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

21 lines
265 B
GLSL

#version 310 es
void main() {
int i;
int A, B, C, D, E, F, G;
for (i=0; i < 10 ; i++) {
A = 1;
if (i%2 ==0) {
B = 1;
continue;
C = 1;
}
if (i%3 == 0) {
D = 1;
break;
E = 1;
}
F = 12;
}
G = 99;
}