skia2/tests/sksl/fp/GrNullableChildProcessor.fp

9 lines
147 B
Plaintext
Raw Normal View History

in fragmentProcessor? child;
half4 main() {
if (child != null) {
return sample(child);
} else {
return half4(0.5);
}
}