Fill out list of WGSL reserved words.
Previously we had a few hand-selected entries. We now include the
entire list of WGSL reserved words, keywords, types, and enumerants.
This fixes a test failure (in ScopedSymbol.sksl) where we attempt
to name a variable `var`. This isn't reflected in the golden output
as it only occurs when inlining is disabled; name mangling from
the inliner dodges the issue. However, several other goldens are
affected.
Change-Id: Ie1802462063923b79d70abd163053013a0bff0b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/744058
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
9 files changed