9583759bbd
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>
7 lines
121 B
JavaScript
7 lines
121 B
JavaScript
### Compilation failed:
|
|
|
|
error: 1: unsized arrays are not permitted here
|
|
k{int z;}m[];void main(){}
|
|
^
|
|
1 error
|