d77dda5bd5
The inliner contained a type error when attempting to inline a function that takes an array as input. The scratch copy of the array was created as `float[123] var;` instead of `float var[123];`. This led to an assertion in VarDeclaration::Make. Change-Id: I5128fe71462bb59a015a7b4e59c1a74800828b16 Bug: oss-fuzz:37466 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441576 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
7 lines
79 B
GLSL
7 lines
79 B
GLSL
|
|
void main() {
|
|
float y[2];
|
|
float _0_v[2] = y;
|
|
_0_v[0] = _0_v[1];
|
|
}
|