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

8 lines
165 B
GLSL

#version 450
layout(location=0) out highp int r;
layout(location=0) in lowp int flag;
void main() {
int i;
for (i=0; i < (flag==1 ? 10 : 15) ; i++) { r = i; }
}