Add RP builder support for cloning between stacks.

This makes operations which reuse expressions much easier to
represent on the stack. Otherwise, depending on the exact order
of operations, some expressions can't be represented without
spilling to a temporary slot or reordering stack entries.

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