• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4uniform vec4 colorRed;
5float get_f() {
6    {
7        return 2.0;
8    }
9}
10vec4 main() {
11    float result = get_f();
12    return result == 2.0 ? colorGreen : colorRed;
13}
14