hlsl.forLoop.frag 673 B

123456789101112131415161718
  1. float4 PixelShaderFunction(float4 input) : COLOR0
  2. {
  3. for (;;) ;
  4. for (++input; ; ) ;
  5. [unroll] for (; any(input != input); ) {}
  6. for (; any(input != input); ) { return -input; }
  7. for (--input; any(input != input); input += 2) { return -input; }
  8. for (;;) if (input.x > 2.0) break;
  9. for (;;) if (input.x > 2.0) continue;
  10. float ii;
  11. for (int ii = -1; ii < 3; ++ii) if (ii == 2) continue;
  12. --ii;
  13. for (int first = 0, second = 1; ;) first + second;
  14. for ( int i = 0, count = int(ii); i < count; i++ );
  15. for (float first = 0, second[2], third; first < second[0]; ++second[1]) first + second[1] + third;
  16. for (--ii, --ii, --ii;;) ii;
  17. }