summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert
blob: 81dd648974a5869edf89c30241739eeb68218cb2 (plain)
1
2
3
4
5
6
7
#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; }
}