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>
7 lines
204 B
GLSL
7 lines
204 B
GLSL
### Compilation failed:
|
|
|
|
error: 4: variables of type 'void' are not allowed
|
|
error: 5: variables of type 'void' are not allowed
|
|
error: 5: global variable initializer must be a constant expression
|
|
3 errors
|