1/*#pragma settings NoInline*/
2
3uniform half4 colorGreen, colorRed;
4
5float foo(float2 v) {
6    return v.x * v.y;
7}
8
9void bar(inout float x) {
10    float y[2];
11    y[0] = x;
12    y[1] = x * 2;
13    x = foo(float2(y[0], y[1]));
14}
15
16half4 main(float2 coords) {
17    float x = 10;
18    bar(x);
19    return x == 200 ? colorGreen : colorRed;
20}
21