skia2/resources/sksl/errors/BadModifiers.sksl
John Stiles 0dd1a77e12 Add noinline keyword to SkSL.
As you might expect, a function tagged with `noinline` will never be
considered as a candidate for inlining.

Change-Id: Ia098f8974e6de251d78bb2a76cd71db8a86bc19c
Bug: skia:11362
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/382337
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-03-10 15:39:48 +00:00

7 lines
318 B
Plaintext

const in out uniform flat noperspective sk_has_side_effects varying inline noinline void func1() {}
void func2(const in out uniform flat noperspective sk_has_side_effects varying
inline noinline float test) {}
const in out uniform flat noperspective sk_has_side_effects varying inline noinline float var;