df40c7eae8
The error was being reported at the position of the var declaration, rather than the position of the reference. And since the declaration was in a module, its position was both incorrect (with respect to the program source) and could be past the end. Change-Id: I443b9fbbe016c43b93d457abfefd17025e451d8a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/521522 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
5 lines
90 B
JavaScript
5 lines
90 B
JavaScript
### Compilation failed:
|
|
|
|
error: 1: sk_SecondaryFragColor is not allowed in SPIR-V
|
|
1 error
|