blob: e9c67ddcf58ba3ba87e1b85c90b6f32a77e4fa76 [file] [log] [blame]
/*#pragma settings CannotUseVoidInSequenceExpressions*/
uniform half4 colorGreen;
void setGreen(inout half4 c) {
c.g = 1.0;
}
void setAlpha(inout half4 c) {
c.a = 1.0;
return;
}
void main() {
half4 color = half4(0);
sk_FragColor = (setGreen(color), setAlpha(color), color);
return;
}