Add method Type::isAllowedInUniform.

This is scaffolding meant to simplify a followup CL. At this CL,
no behavior should change compared to before.

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