• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half4 colorGreen, colorRed;
2
3inline half4 elseBody() {
4    half4 x = colorGreen;
5    return x;
6}
7
8half4 main(float2 coords) {
9    half4 c = colorRed;
10    if (colorGreen.g == 0)
11        ;
12    else
13        c = elseBody();
14    return c;
15}
16