blob: a5b8244d2fd5c191d545e4e92ba771bc1c8a0953 [file] [log] [blame]
void foo(out half x) {
++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x; ++x;
--x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x; --x;
x = 42;
}
half bar(half y) {
foo(y);
return y;
}
void main() {
half _1_y = 123; // the inliner shouldn't try to reuse this name
half z = 0;
bar(z);
sk_FragColor.x = z;
}