Add support for copy_constants to RP builder.

This is used in `push_immediate` to write a constant value to the
stack, instead of using `src.r` as a scratchpad. (The larger goal is
to support uniforms, but this seemed like an easy win as well.)

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