1 2out vec4 sk_FragColor; 3uniform vec4 inputH4; 4uniform vec4 expectedH4; 5uniform vec4 colorGreen; 6uniform vec4 colorRed; 7vec4 main() { 8 bvec4 inputVal = bvec4(inputH4); 9 bvec4 expected = bvec4(expectedH4); 10 return ((((any(inputVal.xy) == expected.x && any(inputVal.xyz) == expected.y) && any(inputVal) == expected.z) && false == expected.x) && expected.y) && expected.z ? colorGreen : colorRed; 11} 12