Flexible Shader Loops

In WebGL 1, loops in the shader had to use a constant integer expression. However, since WebGL 2 is based on OpenGL ES 3.0, this limit no longer exists.