blob: d59c36f450072524329ccac74da5e1888d4350e8 [file] [log] [blame]
/*#pragma settings Default*/
uniform half4 colorWhite, colorGreen, colorRed;
inline half4 MakeTempVar(half4 c) {
if (c.rg == c.ba) {
return colorGreen;
} else {
return colorRed;
}
}
half4 main(float2 coords) {
return MakeTempVar(colorWhite);
}