/*#pragma settings NoInline*/ half2 glob = half2(1); half4 fn(half a, out half2 b, inout half2 c, inout half3 d) { a = sk_FragColor.r + a; b = sk_FragColor.gb - glob.y; c *= a; d = sk_FragColor.aaa / d; return half4(a, b.x, c.y, d.x); } void main() { half2 a = half2(1); half3 b = half3(2); half4x4 c = half4x4(3); half3x3 d = half3x3(4); sk_FragColor = fn(a.x, b.yz, glob.yx, d[1].zyx); }