skia2/tests/sksl
Brian Osman c021360a88 Only include one variable per declaration statement
This removes VarDeclarationsStatement entirely. VarDeclaration instances
appear directly as statements in Programs. SkSL that declares multiple
variables in a single declaration is transformed to represent that as a
series of VarDeclaration statements.

Similarly, global variable declarations are represented by
GlobalVarDeclaration program elements, one per variable.

Bug: skia:10806
Change-Id: Idd8a2d971a8217733ed57f0dd2249d62f2f0e9c5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323102
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-10-07 17:27:01 +00:00
..
blend Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
errors Add unit tests for assignment and invalid field access. 2020-09-25 21:42:22 +00:00
fp Convert the remaining FP tests to golden outputs. 2020-09-23 16:21:58 +00:00
glsl Add golden outputs for the Metal backend. 2020-09-25 17:46:43 +00:00
inliner Factor out Inliner candidate list assembly into its own function. 2020-10-02 20:39:24 +00:00
shared Only include one variable per declaration statement 2020-10-07 17:27:01 +00:00
workarounds Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00