skia2/tests/sksl/errors/PrivateVariables.glsl
Ethan Nicholas 56217f0722 Improved positions of variable name errors
Bug: skia:13170
Change-Id: I11ef0ea5ac3ae61b24a47805bb3290a37880cfee
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/532536
Reviewed-by: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-04-22 14:39:14 +00:00

16 lines
277 B
GLSL

### Compilation failed:
error: 1: name '$a' is reserved
int $a;
^^
error: 2: name '$b' is reserved
void func(float2 $b) {
^^
error: 3: name '$c' is reserved
float $c[2];
^^
error: 4: name '$d' is reserved
bool4 $d;
^^
4 errors