skia2/tests/sksl/errors/ArrayPlus.glsl
John Stiles 90c86ad06c Report an error when negating or plussing an array of scalars.
Change-Id: I894bfa01e7cf58f140423554d0200b6c66beef35
Bug: oss-fuzz:39998
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/459883
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-10-18 16:04:18 +00:00

10 lines
303 B
GLSL

### Compilation failed:
error: 1: '+' cannot operate on 'int[123]'
error: 2: '+' cannot operate on 'int4[123]'
error: 3: '+' cannot operate on 'float[123]'
error: 4: '+' cannot operate on 'half3[123]'
error: 5: '+' cannot operate on 'bool2[123]'
error: 6: '+' cannot operate on 'half4x4[123]'
6 errors