SPIRV-Cross/reference/shaders-no-opt/asm/frag/do-while-loop-inverted-test.asm.frag
2019-03-06 12:17:38 +01:00

14 lines
144 B
GLSL

#version 450
void main()
{
int j = 0;
int i = 0;
do
{
j = ((j + i) + 1) * j;
i++;
} while (!(i == 20));
}