1static constexpr char SKSL_MINIFIED_sksl_gpu[] = 2"$pure $genIType mix($genIType x,$genIType y,$genBType a);$pure $genBType mix" 3"($genBType x,$genBType y,$genBType a);$pure $genType fma($genType a,$genType" 4" b,$genType c);$pure $genHType fma($genHType a,$genHType b,$genHType c);$genType" 5" frexp($genType x,out $genIType exp);$genHType frexp($genHType x,out $genIType" 6" exp);$pure $genType ldexp($genType x,$genIType exp);$pure $genHType ldexp(" 7"$genHType x,$genIType exp);$pure uint packSnorm2x16(float2 v);$pure uint packUnorm4x8" 8"(float4 v);$pure uint packSnorm4x8(float4 v);$pure float2 unpackSnorm2x16(uint" 9" p);$pure float4 unpackUnorm4x8(uint p);$pure float4 unpackSnorm4x8(uint p)" 10";$pure uint packHalf2x16(float2 v);$pure float2 unpackHalf2x16(uint v);$pure" 11" $genIType bitCount($genIType value);$pure $genIType bitCount($genUType value" 12");$pure $genIType findLSB($genIType value);$pure $genIType findLSB($genUType" 13" value);$pure $genIType findMSB($genIType value);$pure $genIType findMSB($genUType" 14" value);$pure sampler2D makeSampler2D(texture2D texture,sampler s);$pure half4" 15" sample(sampler2D s,float2 P);$pure half4 sample(sampler2D s,float3 P);$pure" 16" half4 sample(sampler2D s,float3 P,float bias);$pure half4 sample(samplerExternalOES" 17" s,float2 P);$pure half4 sample(samplerExternalOES s,float2 P,float bias);$pure" 18" half4 sample(sampler2DRect s,float2 P);$pure half4 sample(sampler2DRect s," 19"float3 P);$pure half4 sampleLod(sampler2D s,float2 P,float lod);$pure half4" 20" sampleLod(sampler2D s,float3 P,float lod);$pure half4 sampleGrad(sampler2D" 21" s,float2,float2 dPdx,float2 dPdy);$pure half4 subpassLoad(subpassInput subpass" 22");$pure half4 subpassLoad(subpassInputMS subpass,int sample);$pure uint atomicLoad" 23"(atomicUint a);void atomicStore(atomicUint a,uint value);uint atomicAdd(atomicUint" 24" a,uint value);$pure half4 blend_clear(half4 src,half4 dst){return half4(0." 25");}$pure half4 blend_src(half4 src,half4 dst){return src;}$pure half4 blend_dst" 26"(half4 src,half4 dst){return dst;}$pure half4 blend_src_over(half4 src,half4" 27" dst){return src+(1.-src.w)*dst;}$pure half4 blend_dst_over(half4 src,half4" 28" dst){return(1.-dst.w)*src+dst;}$pure half4 blend_src_in(half4 src,half4 dst" 29"){return src*dst.w;}$pure half4 blend_dst_in(half4 src,half4 dst){return dst" 30"*src.w;}$pure half4 blend_src_out(half4 src,half4 dst){return(1.-dst.w)*src" 31";}$pure half4 blend_dst_out(half4 src,half4 dst){return(1.-src.w)*dst;}$pure" 32" half4 blend_src_atop(half4 src,half4 dst){return dst.w*src+(1.-src.w)*dst;" 33"}$pure half4 blend_dst_atop(half4 src,half4 dst){return(1.-dst.w)*src+src.w" 34"*dst;}$pure half4 blend_xor(half4 src,half4 dst){return(1.-dst.w)*src+(1.-src" 35".w)*dst;}$pure half4 blend_plus(half4 src,half4 dst){return min(src+dst,1.)" 36";}$pure half4 blend_porter_duff(half4 blendOp,half4 src,half4 dst){half2 coeff" 37"=blendOp.xy+blendOp.zw*(half2(dst.w,src.w)+min(blendOp.zw,0.));return min(half4" 38"(1.),src*coeff.x+dst*coeff.y);}$pure half4 blend_modulate(half4 src,half4 dst" 39"){return src*dst;}$pure half4 blend_screen(half4 src,half4 dst){return src+" 40"(1.-src)*dst;}$pure half $blend_overlay_component(half2 s,half2 d){return 2." 41"*d.x<=d.y?(2.*s.x)*d.x:s.y*d.y-(2.*(d.y-d.x))*(s.y-s.x);}$pure half4 blend_overlay" 42"(half4 src,half4 dst){half4 result=half4($blend_overlay_component(src.xw,dst" 43".xw),$blend_overlay_component(src.yw,dst.yw),$blend_overlay_component(src.zw" 44",dst.zw),src.w+(1.-src.w)*dst.w);result.xyz+=dst.xyz*(1.-src.w)+src.xyz*(1." 45"-dst.w);return result;}$pure half4 blend_overlay(half flip,half4 a,half4 b)" 46"{return blend_overlay(bool(flip)?b:a,bool(flip)?a:b);}$pure half4 blend_lighten" 47"(half4 src,half4 dst){half4 result=blend_src_over(src,dst);result.xyz=max(result" 48".xyz,(1.-dst.w)*src.xyz+dst.xyz);return result;}$pure half4 blend_darken(half" 49" mode,half4 src,half4 dst){half4 a=blend_src_over(src,dst);half3 b=(1.-dst." 50"w)*src.xyz+dst.xyz;a.xyz=mode*min(a.xyz*mode,b*mode);return a;}$pure half4 blend_darken" 51"(half4 src,half4 dst){return blend_darken(1.,src,dst);}const half $kGuardedDivideEpsilon" 52"=half(sk_Caps.mustGuardDivisionEvenAfterExplicitZeroCheck?1e-08:0.);$pure inline" 53" half $guarded_divide(half n,half d){return n/(d+$kGuardedDivideEpsilon);}$pure" 54" inline half3 $guarded_divide(half3 n,half d){return n/(d+$kGuardedDivideEpsilon" 55");}$pure half $color_dodge_component(half2 s,half2 d){if(d.x==0.){return s." 56"x*(1.-d.y);}else{half delta=s.y-s.x;if(delta==0.){return(s.y*d.y+s.x*(1.-d." 57"y))+d.x*(1.-s.y);}else{delta=min(d.y,$guarded_divide(d.x*s.y,delta));return" 58"(delta*s.y+s.x*(1.-d.y))+d.x*(1.-s.y);}}}$pure half4 blend_color_dodge(half4" 59" src,half4 dst){return half4($color_dodge_component(src.xw,dst.xw),$color_dodge_component" 60"(src.yw,dst.yw),$color_dodge_component(src.zw,dst.zw),src.w+(1.-src.w)*dst." 61"w);}$pure half $color_burn_component(half2 s,half2 d){if(d.y==d.x){return(s" 62".y*d.y+s.x*(1.-d.y))+d.x*(1.-s.y);}else if(s.x==0.){return d.x*(1.-s.y);}else" 63"{half delta=max(0.,d.y-$guarded_divide((d.y-d.x)*s.y,s.x));return(delta*s.y" 64"+s.x*(1.-d.y))+d.x*(1.-s.y);}}$pure half4 blend_color_burn(half4 src,half4 dst" 65"){return half4($color_burn_component(src.xw,dst.xw),$color_burn_component(src" 66".yw,dst.yw),$color_burn_component(src.zw,dst.zw),src.w+(1.-src.w)*dst.w);}$pure" 67" half4 blend_hard_light(half4 src,half4 dst){return blend_overlay(dst,src);" 68"}$pure half $soft_light_component(half2 s,half2 d){if(2.*s.x<=s.y){return($guarded_divide" 69"((d.x*d.x)*(s.y-2.*s.x),d.y)+(1.-d.y)*s.x)+d.x*((-s.y+2.*s.x)+1.);}else if(" 70"4.*d.x<=d.y){half DSqd=d.x*d.x;half DCub=DSqd*d.x;half DaSqd=d.y*d.y;half DaCub" 71"=DaSqd*d.y;return $guarded_divide(((DaSqd*(s.x-d.x*((3.*s.y-6.*s.x)-1.))+((" 72"12.*d.y)*DSqd)*(s.y-2.*s.x))-(16.*DCub)*(s.y-2.*s.x))-DaCub*s.x,DaSqd);}else" 73"{return((d.x*((s.y-2.*s.x)+1.)+s.x)-sqrt(d.y*d.x)*(s.y-2.*s.x))-d.y*s.x;}}$pure" 74" half4 blend_soft_light(half4 src,half4 dst){return dst.w==0.?src:half4($soft_light_component" 75"(src.xw,dst.xw),$soft_light_component(src.yw,dst.yw),$soft_light_component(" 76"src.zw,dst.zw),src.w+(1.-src.w)*dst.w);}$pure half4 blend_difference(half4 src" 77",half4 dst){return half4((src.xyz+dst.xyz)-2.*min(src.xyz*dst.w,dst.xyz*src" 78".w),src.w+(1.-src.w)*dst.w);}$pure half4 blend_exclusion(half4 src,half4 dst" 79"){return half4((dst.xyz+src.xyz)-(2.*dst.xyz)*src.xyz,src.w+(1.-src.w)*dst." 80"w);}$pure half4 blend_multiply(half4 src,half4 dst){return half4(((1.-src.w" 81")*dst.xyz+(1.-dst.w)*src.xyz)+src.xyz*dst.xyz,src.w+(1.-src.w)*dst.w);}$pure" 82" half $blend_color_luminance(half3 color){return dot(half3(.3,.59,.11),color" 83");}$pure half3 $blend_set_color_luminance(half3 hueSatColor,half alpha,half3" 84" lumColor){half lum=$blend_color_luminance(lumColor);half3 result=(lum-$blend_color_luminance" 85"(hueSatColor))+hueSatColor;half minComp=min(min(result.x,result.y),result.z" 86");half maxComp=max(max(result.x,result.y),result.z);if(minComp<0.&&lum!=minComp" 87"){result=lum+(result-lum)*$guarded_divide(lum,lum-minComp);}if(maxComp>alpha" 88"&&maxComp!=lum){result=lum+$guarded_divide((result-lum)*(alpha-lum),maxComp" 89"-lum);}return result;}$pure half $blend_color_saturation(half3 color){return" 90" max(max(color.x,color.y),color.z)-min(min(color.x,color.y),color.z);}$pure" 91" half3 $blend_set_color_saturation(half3 color,half3 satColor){half mn=min(" 92"min(color.x,color.y),color.z);half mx=max(max(color.x,color.y),color.z);return" 93" mx>mn?((color-mn)*$blend_color_saturation(satColor))/(mx-mn):half3(0.);}$pure" 94" half4 blend_hslc(half2 flipSat,half4 src,half4 dst){half alpha=dst.w*src.w" 95";half3 sda=src.xyz*dst.w;half3 dsa=dst.xyz*src.w;half3 l=bool(flipSat.x)?dsa" 96":sda;half3 r=bool(flipSat.x)?sda:dsa;if(bool(flipSat.y)){l=$blend_set_color_saturation" 97"(l,r);r=dsa;}return half4(((($blend_set_color_luminance(l,alpha,r)+dst.xyz)" 98"-dsa)+src.xyz)-sda,(src.w+dst.w)-alpha);}$pure half4 blend_hue(half4 src,half4" 99" dst){return blend_hslc(half2(0.,1.),src,dst);}$pure half4 blend_saturation" 100"(half4 src,half4 dst){return blend_hslc(half2(1.),src,dst);}$pure half4 blend_color" 101"(half4 src,half4 dst){return blend_hslc(half2(0.),src,dst);}$pure half4 blend_luminosity" 102"(half4 src,half4 dst){return blend_hslc(half2(1.,0.),src,dst);}$pure float2" 103" proj(float3 p){return p.xy/p.z;}$pure float cross_length_2d(float2 a,float2" 104" b){return determinant(float2x2(a,b));}$pure half cross_length_2d(half2 a,half2" 105" b){return determinant(half2x2(a,b));}$pure float2 perp(float2 v){return float2" 106"(-v.y,v.x);}$pure half2 perp(half2 v){return half2(-v.y,v.x);}"; 107