1uniform half4 colorGreen, colorRed; 2 3half4 main(float2 coords) { 4 const bool x = true; 5 if (!x) return colorRed; 6 if (x) return colorGreen; 7} 8