1 2out vec4 sk_FragColor; 3uniform vec4 colorGreen; 4vec4 multiplyByAlpha_h4h4(vec4 x) { 5 return x * x.wwww; 6} 7float add_hhh(float a, float b) { 8 float c = a + b; 9 return c; 10} 11float mul_hhh(float a, float b) { 12 return a * b; 13} 14float fused_multiply_add_hhhh(float a, float b, float c) { 15 return add_hhh(mul_hhh(a, b), c); 16} 17vec4 main() { 18 vec4 result = vec3(vec2(fused_multiply_add_hhhh(colorGreen.w, colorGreen.y, colorGreen.x)), 0.0).zxzy; 19 result = multiplyByAlpha_h4h4(result); 20 return result; 21} 22