skia2/tests/sksl/errors/InterfaceBlockWithNoMembers.glsl
John Stiles d0665d9a04 Fix fuzzer-discovered null deref with empty interface blocks.
Change-Id: I95bfa33f674bce0098cc6d4469c8c85ee8b051f5
Fixes: oss-fuzz:38875
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449817
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-09-17 14:19:14 +00:00

6 lines
168 B
GLSL

### Compilation failed:
error: 1: interface block 'S' must contain at least one member
error: 2: interface block 'testBlock' must contain at least one member
2 errors