51f568a852
`void` behaves differently from opaque types in several situations, such as function return types, and errors involving `void` should not call it an opaque type. I've fixed all the places where we relied on `isOpaque` to return catch void types. Change-Id: I359c00f836be6e56cb0373beff60cf2ff830f77b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/472451 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
8 lines
235 B
GLSL
8 lines
235 B
GLSL
### Compilation failed:
|
|
|
|
error: 5: type 'void' may not be used in an array
|
|
error: 6: type 'void' may not be used in an array
|
|
error: 7: type 'void' may not be used in an array
|
|
error: 4: type 'void' is not permitted in a struct
|
|
4 errors
|