1cb93a386Sopenharmony_ciuniform half a, b, c;
2cb93a386Sopenharmony_ciuniform half4 d, e;
3cb93a386Sopenharmony_civoid main() {
4cb93a386Sopenharmony_ci    sk_FragColor.x = refract(a, b, c);
5cb93a386Sopenharmony_ci    sk_FragColor = refract(d, e, c);
6cb93a386Sopenharmony_ci
7cb93a386Sopenharmony_ci    sk_FragColor.xy   = refract(half2(1,0),     half2(0,1),     0.5);
8cb93a386Sopenharmony_ci    sk_FragColor.xyz  = refract(half3(1,0,0),   half3(0,0,1),   0.5);
9cb93a386Sopenharmony_ci    sk_FragColor.xyzw = refract(half4(1,0,0,0), half4(0,0,0,1), 0.5);
10cb93a386Sopenharmony_ci}
11