skia2/resources/sksl/inliner/ExponentialGrowth.sksl
John Stiles bfc9be0f77 Migrate SkSL test inputs to the resources/ directory.
This will allow us to load these inputs for unit testing in `dm`.

Change-Id: Id256ba7c30d3ec94b98048e47af44cf9efe580d5
Bug: skia:11009
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357282
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-01-22 18:57:29 +00:00

27 lines
914 B
Plaintext

/*#pragma settings InlineThresholdMax*/
void fn1() { sk_FragColor.x = 0; }
void fn2() { fn1(); fn1(); fn1(); }
void fn3() { fn2(); fn2(); fn2(); }
void fn4() { fn3(); fn3(); fn3(); }
void fn5() { fn4(); fn4(); fn4(); }
void fn6() { fn5(); fn5(); fn5(); }
void fn7() { fn6(); fn6(); fn6(); }
void fn8() { fn7(); fn7(); fn7(); }
void fn9() { fn8(); fn8(); fn8(); }
void fnA() { fn9(); fn9(); fn9(); }
void fnB() { fnA(); fnA(); fnA(); }
void fnC() { fnB(); fnB(); fnB(); }
void fnD() { fnC(); fnC(); fnC(); }
void fnE() { fnD(); fnD(); fnD(); }
void fnF() { fnE(); fnE(); fnE(); }
void fnG() { fnF(); fnF(); fnF(); }
void fnH() { fnG(); fnG(); fnG(); }
void fnI() { fnH(); fnH(); fnH(); }
void fnJ() { fnI(); fnI(); fnI(); }
void fnK() { fnJ(); fnJ(); fnJ(); }
void fnL() { fnK(); fnK(); fnK(); }
void fnM() { fnL(); fnL(); fnL(); }
void fnN() { fnM(); fnM(); fnM(); }
void main() { fnN(); }