Remove 'private' symbol table from the compiler.

Previously, the root symbol table held universally-available symbols
and the private symbol table was a child of root which held symbols that
aren't accessible to public (runtime-shader) programs.

Now, the root symbol table holds both private and public symbols. The
public symbol table overrides the private symbols to the SkSL built-in
"Invalid" type. We were already doing something very similar to this
anyway, so that those names couldn't be used in public code.

This simplifies our symbol table inheritance structure and should make
it easier to move shared symbols into a common ancestor module.

Change-Id: I41cfe3c9bf2f4ebdf1a26eb96c710c2e6bdc13ec
Bug: skia:13540
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/562301
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
6 files changed