skia2/tests/sksl/errors/golden/BadFieldAccess.glsl
John Stiles 68861e3913 Add unit tests for assignment and invalid field access.
Change-Id: I8b755ae0078d6353e24834cd15603091d681114c
Bug: skia:10766
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319698
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-09-25 21:42:22 +00:00

9 lines
280 B
GLSL

### Compilation failed:
error: 3: type 'S' does not have a field named 'missing'
error: 4: not a function
error: 5: type mismatch: '=' cannot operate on 'float', 'bool3'
error: 6: too many components in swizzle mask 'missing'
error: 7: expected array, but found 'float'
5 errors