glslang/Test/hlsl.forLoop.frag
2016-06-05 15:44:07 -06:00

9 lines
247 B
GLSL

float4 PixelShaderFunction(float4 input) : COLOR0
{
for (;;) ;
for (++input; ; ) ;
[unroll] for (; input != input; ) {}
for (; input != input; ) { return -input; }
for (--input; input != input; input += 2) { return -input; }
}