Label private variables with an sk_Priv prefix.
SkSL modules are allowed to declare private globals by prefixing their
names with a `$`. Backends will now replace the $ with `sk_Priv`.
(SPIR-V is excluded; its names have no semantic impact, and do not
seem to have any documented restrictions at all.)
Change-Id: Ic0137f5032ecf0b7d309335b3d3fde54f532c00b
Bug: skia:13601
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/563458
Reviewed-by: Arman Uguray <armansito@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
6 files changed