skia2/tests/sksl/fp/GrNestedCall.fp
John Stiles a16bdc1f66 Remove sk_OutColor usage from .fp unit tests.
Change-Id: Ief2a60fccdffcb8a0cf785a5adcca5d3e1172b49
Bug: skia:10549
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344298
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-15 16:06:13 +00:00

24 lines
260 B
GLSL

/*#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();
}