glslang/Test/spv.for-notest.vert
Dejan Mircevski e537b8b488 Fix unreachable-block removal.
Add a test for loop without a condition.

Change-Id: Idd7fc462218a84b1e745207e2975a3f2897d30a0
2016-01-10 19:37:00 -05:00

7 lines
104 B
GLSL

#version 450
layout(location=0) out highp int r;
void main() {
int i;
for (i=0; ; i++) { r = i; }
}