skia2/tests/sksl
John Stiles d2a3a5b3b4 Add support for fFormatArgs in .fp-file inner functions.
Previously, we'd just emit functions with `%s` in their function bodies.
Also, the fFormatArgs wouldn't get cleaned up, so subsequent code would
fill in the wrong format arguments in each place.

There are still problems with function calls (`sample` is broken;
function names are accessed before they've been declared or initialized)
but this is a step in the right direction.

Bug: skia:10684
Change-Id: I7399a71d44ebba5049703484ec9933dffbe8e2b9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/329417
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-10-26 16:15:33 +00:00
..
blend Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
errors Add support for fFormatArgs in .fp-file inner functions. 2020-10-26 16:15:33 +00:00
fp Add support for fFormatArgs in .fp-file inner functions. 2020-10-26 16:15:33 +00:00
glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
inliner Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00
shared Fix use-after-free discovered by fuzzer. 2020-10-23 16:10:15 +00:00
workarounds Directly compute call counts, rather than mutating state 2020-10-19 16:08:39 +00:00