skia2/resources/sksl/fp/GrChildProcessorsWithInput.fp

12 lines
243 B
Plaintext
Raw Normal View History

uniform half4 color;
in fragmentProcessor child1;
in fragmentProcessor child2;
half4 main() {
half4 childIn = color;
half4 childOut1 = sample(child1, childIn);
half4 childOut2 = sample(child2, childOut1);
return childOut2;
}