blob: 177ebf3d4520434dcde6147f95b8787d90017f9a [file] [log] [blame]
uniform half4 colorGreen, colorRed;
half4 main() {
const float4 a = float4(0);
const float4 b = float4(1);
const float4 c = abs(b); // still a Constant Expression, but SkSL cannot eliminate it (today)
if (a == b || b != c) {
return colorRed;
} else {
return colorGreen;
}
}