1/*#pragma settings RewriteSwitchStatements*/ 2 3uniform half4 colorGreen, colorRed; 4 5half4 main(float2 coords) { 6 switch (int(colorGreen.g)) { 7 default: return colorGreen; 8 } 9} 10