Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / resources / sksl / intrinsics / Refract.sksl
1 uniform half a, b, c;
2 uniform half4 d, e;
3 void main() {
4     sk_FragColor.x = refract(a, b, c);
5     sk_FragColor = refract(d, e, c);
6
7     sk_FragColor.xy   = refract(half2(1,0),     half2(0,1),     0.5);
8     sk_FragColor.xyz  = refract(half3(1,0,0),   half3(0,0,1),   0.5);
9     sk_FragColor.xyzw = refract(half4(1,0,0,0), half4(0,0,0,1), 0.5);
10 }