• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 color;
4void main() {
5    vec4 _0_result;
6    switch (int(color.x)) {
7        case 1:
8            _0_result = color.yyyy;
9            break;
10        default:
11            _0_result = color.zzzz;
12            break;
13    }
14    sk_FragColor = _0_result;
15}
16