Lines Matching refs:float4
5 float4 colorGreen;
6 float4 colorRed;
11 float4 sk_FragColor [[color(0)]];
13 float4 unpremul_h4h4(float4 color) {
14 return float4(color.xyz / max(color.w, 9.9999997473787516e-05), color.w);
17 float4 live_fn_h4h4h4(float4 a, float4 b) {
20 …t Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[posit…
23 float4 a;
24 float4 b;
26 a = live_fn_h4h4h4(float4(3.0), float4(-5.0));
29 b = unpremul_h4h4(float4(1.0));
31 …_out.sk_FragColor = any(a != float4(0.0)) && any(b != float4(0.0)) ? _uniforms.colorGreen : _unifo…