2017-04-22 10:26:44 +03:00
|
|
|
float4 PixelShaderFunction(float input) : COLOR0
|
2016-12-16 01:19:54 +03:00
|
|
|
{
|
|
|
|
[unroll] do {} while (false);
|
|
|
|
[unroll] do {;} while (false);
|
2017-04-22 10:26:44 +03:00
|
|
|
do { return (float4)input; } while (input > 2.0);
|
|
|
|
do ++input; while (input < 10.0);
|
|
|
|
do while (++input < 10.0); while (++input < 10.0); // nest while inside do-while
|
|
|
|
return (float4)input;
|
2016-12-16 01:19:54 +03:00
|
|
|
}
|