skia2/tests/sksl
John Stiles f201af8b00 Allow more types of expressions to be directly inlined.
The following types of expression are hoisted directly into the
inlined code:

- Struct field access: `myStruct.myField`
- Swizzles: `myVector.xzy`
- Simple array indexes: `myArray[0]`

This significantly reduces the number of temporary variables generated
by the inliner.

Change-Id: Ifed226ecc87b096ec1e38752c0c38ae32bd31578
Bug: skia:10737, skia:10786
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319919
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-09-30 00:36:40 +00:00
..
blend Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +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 Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
shared Allow more types of expressions to be directly inlined. 2020-09-30 00:36:40 +00:00
workarounds Rename 'DefaultSettings' golden outputs to 'StandaloneSettings'. 2020-09-21 22:15:51 +00:00