skia2/resources/sksl/fp/GrNestedCall.fp

24 lines
260 B
Plaintext
Raw Normal View History

/*#pragma settings NoInline*/
in fragmentProcessor fp;
half4 func1();
half4 func2();
half4 func3();
half4 func1() {
return func2();
}
half4 func2() {
return func3();
}
half4 func3() {
return sample(fp);
}
half4 main() {
return func1();
}