1/*#pragma settings NoInline*/ 2 3half2 glob = half2(1); 4 5half4 fn(half a, out half2 b, inout half2 c, inout half3 d) { 6 a = sk_FragColor.r + a; 7 b = sk_FragColor.gb - glob.y; 8 c *= a; 9 d = sk_FragColor.aaa / d; 10 return half4(a, b.x, c.y, d.x); 11} 12 13void main() { 14 half2 a = half2(1); 15 half3 b = half3(2); 16 half4x4 c = half4x4(3); 17 half3x3 d = half3x3(4); 18 19 sk_FragColor = fn(a.x, b.yz, glob.yx, d[1].zyx); 20} 21