0dd1a77e12
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>
25 lines
1007 B
GLSL
25 lines
1007 B
GLSL
### Compilation failed:
|
|
|
|
error: 1: 'const' is not permitted here
|
|
error: 1: 'in' is not permitted here
|
|
error: 1: 'out' is not permitted here
|
|
error: 1: 'uniform' is not permitted here
|
|
error: 1: 'flat' is not permitted here
|
|
error: 1: 'noperspective' is not permitted here
|
|
error: 1: 'varying' is not permitted here
|
|
error: 1: functions cannot be both 'inline' and 'noinline'
|
|
error: 4: 'uniform' is not permitted here
|
|
error: 4: 'flat' is not permitted here
|
|
error: 4: 'noperspective' is not permitted here
|
|
error: 4: 'sk_has_side_effects' is not permitted here
|
|
error: 4: 'varying' is not permitted here
|
|
error: 4: 'inline' is not permitted here
|
|
error: 4: 'noinline' is not permitted here
|
|
error: 6: 'in uniform' variables only permitted within fragment processors
|
|
error: 6: 'varying' is only permitted in runtime effects
|
|
error: 6: 'sk_has_side_effects' is not permitted here
|
|
error: 6: 'inline' is not permitted here
|
|
error: 6: 'noinline' is not permitted here
|
|
error: 6: 'const' variables must be initialized
|
|
21 errors
|