1layout(key) in bool test;
2layout(ctype=SkPMColor4f, tracked, when=test) in uniform half4 color;
3half4 main() {
4  if (test) {
5    return color;
6  } else {
7    return half4(1);
8  }
9}
10