1in fragmentProcessor child; 2bool hasCap = sk_Caps.externalTextureSupport; 3 4half4 main() { 5 if (hasCap) { 6 return sample(child); 7 } else { 8 return half4(1); 9 } 10} 11