Fix global variables with default values in DSL CPP.

These, like layout(when), are very particular about names. The class-
member variable version of the global needs to use the unadorned name
exactly as-is, and C++ types (`float2` not `Float2`). The DSL version of
the global-var needs to use DSL variable name-mangling and DSL types.

Change-Id: I7c97a5d0a946fcc0908ce5814230b26030d29689
Bug: skia:11854
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/401156
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
1 file changed