blob: bb0158b1e567c1f53664ed111845ed60f13e8068 [file] [log] [blame]
layout(key) in bool test;
layout(ctype=SkPMColor4f, tracked, when=test) in uniform half4 color;
void main() {
if (test) {
sk_OutColor = color;
} else {
sk_OutColor = half4(1);
}
}