skia2/tests/sksl/errors/Ossfuzz37469.asm.frag
Ethan Nicholas 9583759bbd Restored unsized array support to SkSL
This is a prerequisite for compute shaders. As of this CL, there isn't
yet a way to use unsized arrays, as it is a compute-only feature and
compute shaders are coming in a followup CL, but this adds the basic
framework and error tests.

Change-Id: I390c0961e324dd474474563bf9a8f6b34c9552a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/538900
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-06-03 13:58:35 +00:00

7 lines
121 B
JavaScript

### Compilation failed:
error: 1: unsized arrays are not permitted here
k{int z;}m[];void main(){}
^
1 error